Class ADC2Module.Piece
java.lang.Object
VASSAL.tools.imports.adc2.ADC2Module.Piece
-
Field Summary
-
Constructor Summary
ConstructorDescriptionPiece
(int position, String name, ADC2Module.PieceClass cl, ADC2Module.HideState hidden, int flags, int facing) -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
protected Embellishment
protected GamePiece
protected PropertySheet
protected Embellishment
protected DynamicProperty
double
protected FreeRotator
protected GamePiece
protected Decorator
protected MovementMarkable
protected PropertySheet
protected PieceSlot
protected Obscurable
protected UsePrototype
getValue
(int index) boolean
boolean
int
hashCode()
boolean
hasMoved()
boolean
boolean
isCard()
protected void
setValue
(int index, boolean value) protected void
setValue
(int index, int value) protected void
protected void
writeToArchive
(DrawPile parent) protected void
writeToArchive
(SetupStack parent) protected void
writeToArchive
(ListWidget list)
-
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
-
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
-