org.vizzini.ui.game
Class AbstractTokenUIText
java.lang.Object
org.vizzini.ui.game.AbstractTokenUIText
- All Implemented Interfaces:
- IStateful, ITokenUI
public abstract class AbstractTokenUIText
- extends Object
- implements ITokenUI
Provides base functionality for token user interfaces in the game framework.
- Since:
- v0.1
- Version:
- v0.3
- Author:
- Jeffrey M. Thompson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractTokenUIText
public AbstractTokenUIText()
configure
public void configure(Properties properties,
int index)
throws InstantiationException,
IllegalAccessException
- Configure this token.
- Specified by:
configure
in interface ITokenUI
- Parameters:
properties
- Source of configuration information.index
- Index of this token's properties.
- Throws:
InstantiationException
IllegalAccessException
- Since:
- v0.3
getToken
public IToken getToken()
- Return this token's agent.
- Specified by:
getToken
in interface ITokenUI
- Since:
- v0.1
setToken
public void setToken(IToken token)
- Set the associated token.
- Specified by:
setToken
in interface ITokenUI
- Parameters:
token
- The associated token.- Since:
- v0.1
Copyright © 2007 Vizzini.org. All Rights Reserved.
|
2007.12.25.03.00.02 |