rl.centurion.client.mapping
Class CenturionBoardRenderer
java.lang.Object
java.util.Observable
rl.client.mapping.BoardRenderer
rl.client.mapping.HexBoardRenderer
rl.centurion.client.mapping.CenturionBoardRenderer
public class CenturionBoardRenderer
- extends HexBoardRenderer
|
Method Summary |
void |
addGameElement(GameElement element,
HexLocation location,
Affiliation aff,
boolean transporting)
|
void |
addInvisibleGameElement(GameElement element,
HexLocation location,
Affiliation aff)
|
void |
clearDeployments()
|
void |
clearFireAttempts()
|
void |
clearGameElement(GameElement element)
|
void |
clearHighlightedElements()
|
void |
clearHighlightedElements(java.util.Vector<GameElement> elements)
|
void |
clearMovementOrderSequence(GameElement element)
|
void |
clearPaintAttempts()
|
void |
clearPaintedElements()
|
void |
displayMovementOrderSequence(GameElement element,
java.util.Vector<Location> locations,
java.awt.Color fillColour,
java.awt.Color drawColour)
|
BoardHex |
getBoardHex(MapHex theMapHex,
Theme theme,
int boardX,
int boardY)
|
void |
hideDeployments(java.util.Vector<Deployment> deployments)
|
void |
highlightElements(java.util.Vector<GameElement> elements,
java.awt.Color highlightColour)
|
void |
setBoard(Board board)
|
void |
setGameElementLocation(GameElement element,
HexLocation location,
Affiliation aff,
boolean visible,
boolean transporting)
|
void |
setHighlightElementColor(GameElement element,
java.awt.Color highlightColour)
|
void |
setHighlightElementLocation(Location location)
|
void |
setView(javax.swing.JComponent view)
|
void |
showDeployments(java.util.Vector<Deployment> deployments)
|
void |
showFireAttempt(GameElement source,
GameElement target)
|
void |
showPaintAttempt(GameElement source,
GameElement target)
|
void |
showPaintedElement(GameElement element)
|
void |
updateGameElementStatus(GameElement element,
int turn)
|
| Methods inherited from class java.util.Observable |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_PaintAttempts
java.util.HashMap<GameElement,HexStraightArrowSprite> m_PaintAttempts
m_PaintedElements
java.util.HashMap<GameElement,PaintingMarkerSprite> m_PaintedElements
m_FireAttempts
java.util.Vector<CenturionBoardRenderer.FireAttempt> m_FireAttempts
m_MovementOrderSequences
java.util.HashMap<GameElement,LocationVectorSpriteChain> m_MovementOrderSequences
CenturionBoardRenderer
public CenturionBoardRenderer()
getBoardHex
public BoardHex getBoardHex(MapHex theMapHex,
Theme theme,
int boardX,
int boardY)
- Specified by:
getBoardHex in class HexBoardRenderer
setView
public void setView(javax.swing.JComponent view)
- Overrides:
setView in class BoardRenderer
setBoard
public void setBoard(Board board)
- Overrides:
setBoard in class HexBoardRenderer
showDeployments
public void showDeployments(java.util.Vector<Deployment> deployments)
- Specified by:
showDeployments in class HexBoardRenderer
hideDeployments
public void hideDeployments(java.util.Vector<Deployment> deployments)
- Specified by:
hideDeployments in class HexBoardRenderer
clearDeployments
public void clearDeployments()
- Specified by:
clearDeployments in class HexBoardRenderer
addGameElement
public void addGameElement(GameElement element,
HexLocation location,
Affiliation aff,
boolean transporting)
addInvisibleGameElement
public void addInvisibleGameElement(GameElement element,
HexLocation location,
Affiliation aff)
clearGameElement
public void clearGameElement(GameElement element)
setGameElementLocation
public void setGameElementLocation(GameElement element,
HexLocation location,
Affiliation aff,
boolean visible,
boolean transporting)
updateGameElementStatus
public void updateGameElementStatus(GameElement element,
int turn)
highlightElements
public void highlightElements(java.util.Vector<GameElement> elements,
java.awt.Color highlightColour)
- Specified by:
highlightElements in class HexBoardRenderer
setHighlightElementLocation
public void setHighlightElementLocation(Location location)
- Specified by:
setHighlightElementLocation in class HexBoardRenderer
setHighlightElementColor
public void setHighlightElementColor(GameElement element,
java.awt.Color highlightColour)
- Specified by:
setHighlightElementColor in class HexBoardRenderer
clearHighlightedElements
public void clearHighlightedElements()
- Specified by:
clearHighlightedElements in class HexBoardRenderer
clearHighlightedElements
public void clearHighlightedElements(java.util.Vector<GameElement> elements)
displayMovementOrderSequence
public void displayMovementOrderSequence(GameElement element,
java.util.Vector<Location> locations,
java.awt.Color fillColour,
java.awt.Color drawColour)
- Specified by:
displayMovementOrderSequence in class HexBoardRenderer
clearMovementOrderSequence
public void clearMovementOrderSequence(GameElement element)
- Specified by:
clearMovementOrderSequence in class HexBoardRenderer
showPaintAttempt
public void showPaintAttempt(GameElement source,
GameElement target)
clearPaintAttempts
public void clearPaintAttempts()
showFireAttempt
public void showFireAttempt(GameElement source,
GameElement target)
clearFireAttempts
public void clearFireAttempts()
showPaintedElement
public void showPaintedElement(GameElement element)
clearPaintedElements
public void clearPaintedElements()