org.vizzini.game
Class DefaultToken

java.lang.Object
  extended by org.vizzini.game.AbstractToken
      extended by org.vizzini.game.DefaultToken
All Implemented Interfaces:
Serializable, Cloneable, IToken
Direct Known Subclasses:
DefaultBoardGameToken

public class DefaultToken
extends AbstractToken

Provides a default token for the game framework.

Since:
v0.1
Version:
v0.3
Author:
Jeffrey M. Thompson
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.vizzini.game.AbstractToken
UNKNOWN_NAME
 
Fields inherited from interface org.vizzini.game.IToken
AGENT_PROPERTY, NAME_PROPERTY, POSITION_PROPERTY, TEAM_PROPERTY
 
Constructor Summary
DefaultToken()
          Construct this object.
 
Method Summary
 void configure(Properties properties, int index)
          Configure this token.
 
Methods inherited from class org.vizzini.game.AbstractToken
addPropertyChangeListener, clone, copy, equals, getAgent, getIndex, getName, getPosition, getPropertyChangeManager, getTeam, getValue, hashCode, isFiringPositionChanges, removePropertyChangeListener, setAgent, setFiringPositionChanges, setIndex, setName, setPosition, setTeam, setValue, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultToken

public DefaultToken()
Construct this object.

Since:
v0.2
Method Detail

configure

public void configure(Properties properties,
                      int index)
Configure this token.

Specified by:
configure in interface IToken
Overrides:
configure in class AbstractToken
Parameters:
properties - Source of configuration information.
index - Index of this token's properties.
Since:
v0.1


Copyright 2007 Vizzini.org. All Rights Reserved. 2007.12.25.03.00.02