twcore.core
Class Flag

java.lang.Object
  |
  +--twcore.core.Flag

public class Flag
extends java.lang.Object


Constructor Summary
Flag(twcore.core.FlagClaimed message)
           
Flag(twcore.core.FlagPosition message)
           
 
Method Summary
 boolean carried()
           
 void dropped()
           
 int getFlagID()
           
 int getPlayerID()
           
 int getTeam()
           
 int getXLocation()
           
 int getYLocation()
           
 void processEvent(twcore.core.FlagClaimed message)
           
 void processEvent(twcore.core.FlagPosition message)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Flag

public Flag(twcore.core.FlagPosition message)

Flag

public Flag(twcore.core.FlagClaimed message)
Method Detail

processEvent

public void processEvent(twcore.core.FlagPosition message)

processEvent

public void processEvent(twcore.core.FlagClaimed message)

dropped

public void dropped()

getFlagID

public int getFlagID()

getXLocation

public int getXLocation()

getYLocation

public int getYLocation()

getTeam

public int getTeam()

getPlayerID

public int getPlayerID()

carried

public boolean carried()