Package VASSAL.tools.imports.adc2
Class ADC2Module.Piece
java.lang.Object
VASSAL.tools.imports.adc2.ADC2Module.Piece
- Enclosing class:
- ADC2Module
public class ADC2Module.Piece extends Object
-
Field Summary
Fields Modifier and Type Field Description ADC2Module.HideState
hideState
ADC2Module.PieceClass
pieceClass
-
Constructor Summary
Constructors Constructor Description Piece(int position, String name, ADC2Module.PieceClass cl, ADC2Module.HideState hidden, int flags, int facing)
Piece(ADC2Module.PieceClass cl)
-
Method Summary
-
Field Details
-
pieceClass
-
hideState
-
-
Constructor Details
-
Piece
-
Piece
public Piece(int position, String name, ADC2Module.PieceClass cl, ADC2Module.HideState hidden, int flags, int facing)
-
-
Method Details
-
getForcePool
-
isCard
public boolean isCard() -
equals
-
hashCode
public int hashCode() -
setValue
protected void setValue(int index, int value) -
writeToArchive
- Throws:
IOException
-
writeToArchive
- Throws:
IOException
-
getPlayer
-
inForcePool
public boolean inForcePool() -
getGamePiece
- Throws:
IOException
-
getHidden
- Throws:
IOException
-
getPieceValueMask
- Throws:
IOException
-
getUsePrototype
-
getFacingAngle
public double getFacingAngle() -
getDefendedEmbellishment
- Throws:
IOException
-
getAttackedEmbellishment
- Throws:
IOException
-
getFreeRotator
-
getMovementMarkable
- Throws:
IOException
-
getPiecePropertySheet
-
getClassPropertySheet
-
getDynamicProperty
-
getBasicPiece
- Throws:
IOException
-
hasAttacked
public boolean hasAttacked() -
hasDefended
public boolean hasDefended() -
hasMoved
public boolean hasMoved() -
drawOnTopOfOthers
public boolean drawOnTopOfOthers() -
getUniqueClassName
-
getClassName
-
setValue
-
setValue
protected void setValue(int index, boolean value) -
getValue
-
writeToArchive
- Throws:
IOException
-
getPieceSlot
-