org.vizzini.ui.game.boardgame.chess.standardtoken
Class RookShape

java.lang.Object
  extended by org.vizzini.ui.graphics.shape.AbstractShape
      extended by org.vizzini.ui.graphics.shape.ExtrudedShape
          extended by org.vizzini.ui.game.boardgame.chess.PieceShape
              extended by org.vizzini.ui.game.boardgame.chess.standardtoken.RookShape
All Implemented Interfaces:
Comparable, IStateful, ITokenUI, IShape

public final class RookShape
extends PieceShape

Provides a shape class for a chess Rook.

Since:
v0.3
Version:
v0.3
Author:
Jeffrey M. Thompson

Field Summary
 
Fields inherited from class org.vizzini.ui.game.boardgame.chess.PieceShape
_segments
 
Fields inherited from class org.vizzini.ui.graphics.shape.ExtrudedShape
_beginCap, _endCap, _isHighlighted, _polygons, _spineLength
 
Fields inherited from class org.vizzini.ui.graphics.shape.AbstractShape
_isWireframe, _points, _screenCenter, _screenPoints, _shapeGroup, _zNormal
 
Constructor Summary
RookShape(ITeam team)
          Construct this object with the given team and a magnification of 1.0.
RookShape(ITeam team, double magnify)
          Construct this object with the given parameters.
 
Method Summary
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.vizzini.math.IStateful
getAbsoluteState, getState, getStatefulParent, setStatefulParent
 

Constructor Detail

RookShape

public RookShape(ITeam team)
Construct this object with the given team and a magnification of 1.0.

Parameters:
team - The team.
Since:
v0.3

RookShape

public RookShape(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