org.vizzini.ui.game.boardgame.chess.standardtoken
Class KingShape
java.lang.Object
org.vizzini.ui.graphics.shape.AbstractShape
org.vizzini.ui.graphics.shape.ExtrudedShape
org.vizzini.ui.game.boardgame.chess.PieceShape
org.vizzini.ui.game.boardgame.chess.standardtoken.KingShape
- All Implemented Interfaces:
- Comparable, IStateful, ITokenUI, IShape
public final class KingShape
- extends PieceShape
Provides a shape class for a chess King.
- Since:
- v0.3
- Version:
- v0.3
- Author:
- Jeffrey M. Thompson
Constructor Summary |
KingShape(ITeam team)
Construct this object with the given team and a magnification of 1.0. |
KingShape(ITeam team,
double magnify)
Construct this object with the given parameters. |
Methods inherited from class org.vizzini.ui.game.boardgame.chess.PieceShape |
configure, getAgent, getTeam, getTeamColor, getTeamHighlight, getToken, initPoints, preprocessSpine, setAgent, setTeamColor, setTeamHighlight, setToken |
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 |
KingShape
public KingShape(ITeam team)
- Construct this object with the given team and a magnification of 1.0.
- Parameters:
team
- The team.- Since:
- v0.3
KingShape
public KingShape(ITeam team,
double magnify)
- Construct this object with the given parameters.
- Parameters:
team
- The team.magnify
- The magnification.- Since:
- v0.3
Copyright © 2007 Vizzini.org. All Rights Reserved.
|
2007.12.25.03.00.02 |