Package VASSAL.tools.imports.adc2
Class ADC2Module.Piece
java.lang.Object
VASSAL.tools.imports.adc2.ADC2Module.Piece
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPiece(int position, String name, ADC2Module.PieceClass cl, ADC2Module.HideState hidden, int flags, int facing) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanprotected Embellishmentprotected GamePieceprotected PropertySheetprotected Embellishmentprotected DynamicPropertydoubleprotected FreeRotatorprotected GamePieceprotected Decoratorprotected MovementMarkableprotected PropertySheetprotected PieceSlotprotected Obscurableprotected UsePrototypegetValue(int index) booleanbooleaninthashCode()booleanhasMoved()booleanbooleanisCard()protected voidsetValue(int index, boolean value) protected voidsetValue(int index, int value) protected voidprotected voidwriteToArchive(DrawPile parent) protected voidwriteToArchive(SetupStack parent) protected voidwriteToArchive(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
-