RolePlayingDesign: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
No edit summary |
No edit summary |
||
| Line 61: | Line 61: | ||
=Objects and Actions= |
=Objects and Actions= |
||
The whole Marauroa system is managed by two main entities, RPAction and RPObject and several helper classes like Attributes, RPSlot and RPClass |
The whole Marauroa system is managed by two main entities, RPAction and RPObject and several helper classes like Attributes, RPSlot and RPClass |
||
==Atributtes== |
==Atributtes== |
||
Attributes is a collection of pairs name-value. |
|||
We can store almost any basic type in a Attribute object: |
|||
* strings |
|||
* integer |
|||
* floats |
|||
* boolean |
|||
We can't store collections in the attribute, but you can convert it to a string and store it as a string. Marauroa provides helper methods for it. |
|||
==Objects== |
==Objects== |
||