Behavior Table Properties and Caching
December 9th, 2005 by Patrick Boucher. Viewed 2682 times.The Piccolo language has this neat little function called AddPropertyTable which you can call on pretty much any object. This attaches a table of userdefined properties on the object that you can then fill with whatever you wish. This table of course goes whereever the object goes and is accessible through dot notation.
I use this profusely, especially with my actors. This way I can tack on actor characteristics (i.e.: agression level, strength, sight distance, etc) and refer to these characteristics later in the code.




