us.asciiroth.client.core
Interface ColorListener

All Known Implementing Classes:
AgentDestroyer, AgentGate, Asciiroth, BeeHive, Cliff, ColorRelay, Decorator, Door, DualTerrain, EnergyTrapContainer, Equipper, FarthapodNest, Flagger, ForceField, Messenger, Mimic, PieceCreator, PitTrap, PlayerGate, PoisonTrapContainer, Pusher, Reflector, ResistancesTrapContainer, RollingBoulder, SecretPassage, Shooter, Sign, Statue, Timer, TrapContainerBase, Trigger, TriggerIf, TriggerIfNot, TriggerOnce, TriggerOnceIf, TriggerOnceIfNot, TriggerOnceOnDrop, TriggerOnceOnPickup, Turnstile, Unequipper, Unflagger, WinGame

public interface ColorListener

A terrain piece that can be trigged by color events.

See Also:
us.asciiroth.client.board

Method Summary
 void onColorEvent(Context ctx, Cell cell, Cell origin)
          Terrain has received a color event, probably related to the firing of a color event on the board.
 

Method Detail

onColorEvent

void onColorEvent(Context ctx,
                  Cell cell,
                  Cell origin)
Terrain has received a color event, probably related to the firing of a color event on the board. Different terrain behave differently when triggered, most flip between a set of states.

Parameters:
ctx - a context object with references to game state
cell -
origin -

0.7

2009 Alx Dark