Flatland::ObjectProperties Struct Reference
List of all members.
- For physical properties, I don't see a need for accessor/mutator methods right now. In the future we can add proxies if need be. For example, we'd turn the struct into a class, then we'd make friction a FrictionProxy instead of a float, then we'd add a private member to store the actual float for friction. FrictionProxy would use operator overloading to hide validation behind the scenes. If the proxy code is tedious even using templates, then maybe we could add to the enums perl script to auto-generate code for us.
Definition at line 56 of file flatland.hpp.
The documentation for this struct was generated from the following file:
Generated on Sat Jan 13 17:20:21 2007 for Flatland by doxygen 1.5.1