ctf.evaluation.simulator.data
Class Flag

java.lang.Object
  extended by ctf.evaluation.simulator.data.Flag
All Implemented Interfaces:
HasLocation, HasVisibility

public class Flag
extends java.lang.Object
implements HasLocation, HasVisibility

Represents a flag


Field Summary
static int TOKENS
           
 
Constructor Summary
Flag(java.lang.String[] tokens)
           
 
Method Summary
 Point location()
           
 boolean visible()
          Can this object be seen?
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TOKENS

public static final int TOKENS
See Also:
Constant Field Values
Constructor Detail

Flag

public Flag(java.lang.String[] tokens)
     throws ProtocolError
Throws:
ProtocolError
Method Detail

visible

public boolean visible()
Description copied from interface: HasVisibility
Can this object be seen?

Specified by:
visible in interface HasVisibility

location

public Point location()
Specified by:
location in interface HasLocation