[messages] [Developers] Adding new properties to counters and Setup Sheets

brian448 brian448 at sbcglobal.net
Mon Jun 13 07:38:33 CEST 2016


Paul,

You could use prototypes for your pieces.  Keep the prototype
definitions in the main module.  The actual piece should contain just a
piece image and a call to the prototype.  Then, if you need to change or
add a function to a piece, you can edit that piece's prototype in the
main module and not have to worry about the piece in the .vsav file. 
The piece in the .vsav file will look to get its attributes from the
updated prototype that is in the main module.

Brian

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


More information about the messages mailing list