[messages] [Module Design] (java again) how do you rotate a cloned GamePiece?

Mu0n micjuneau at gmail.com
Tue Apr 25 21:56:14 CEST 2017


I can:

1) Find a PieceSlot using a specific gpid
2) create a GamePiece object by cloning an instance of the PieceSlot
3) create a command to send it to a specific map

but, how can I:

4) access its FreeRotator decorator (or trait as it's known in the
editor, like the "can pivot" or "can rotate") so I can set an angle
before sending it on a map?

_______________________________________________
Read this topic online here:
http://www.vassalengine.org/forum/viewtopic.php?p=53495#p53495


More information about the messages mailing list