org.vizzini.example.qubic.ui
Class ConeTokenUI
java.lang.Object
org.vizzini.ui.graphics.shape.AbstractShape
org.vizzini.ui.graphics.shape.ExtrudedShape
org.vizzini.ui.graphics.shape.Cone
org.vizzini.example.qubic.ui.ConeTokenUI
- All Implemented Interfaces:
- Comparable, IStateful, ITokenUI, IShape
public class ConeTokenUI
- extends Cone
- implements ITokenUI
Provides functionality for a Qubic cone token user interface in the game
framework.
- Since:
- v0.2
- Version:
- v0.3
- Author:
- Jeffrey M. Thompson
Constructor Summary |
ConeTokenUI(ITeam team,
double magnify)
Construct this object. |
Methods inherited from class org.vizzini.ui.graphics.shape.ExtrudedShape |
computePolygonShapes, computeScreenPoints, contains, drawOn, initPoints, processPolygonShape, releasePolygonShapes, setBeginCap, setEndCap, setHighlightColor, setHighlighted |
Methods inherited from class org.vizzini.ui.graphics.shape.AbstractShape |
add, clear, compareTo, computeCenteredScreenPoints, computeNormalZComponent, computeScreenCenter, createState, createStatefulSupport, drawOn, drawOnSolid, drawOnWireframe, getAbsoluteState, getBounds, getChildren, getColor, getColorForIntensity, getDepth, getDimensions, getHeight, getMinDimension, getName, getScreenCenter, getShapeGroup, getState, getStatefulParent, getTextureFilepath, getWidth, isInFrontOf, isLightSource, isTextureFilepathSet, isVisible, isWireframe, remove, setColor, setLightSource, setName, setStatefulParent, setTextureFilepath, setVisible, setWireframe, toString |
ConeTokenUI
public ConeTokenUI(ITeam team,
double magnify)
- Construct this object.
- Since:
- v0.2
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.2
setToken
public void setToken(IToken token)
- Set the associated token.
- Specified by:
setToken
in interface ITokenUI
- Parameters:
token
- The associated token.- Since:
- v0.2
Copyright © 2007 Vizzini.org. All Rights Reserved.
|
2007.12.25.03.00.02 |