RolePlayingDesign: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
No edit summary |
No edit summary |
||
| Line 59: | Line 59: | ||
By implementing RPRuleProcessor you personalize Marauroa to be the kind of game you want to code. But keep in mind that you are ''limited'' to a realtime like game. |
By implementing RPRuleProcessor you personalize Marauroa to be the kind of game you want to code. But keep in mind that you are ''limited'' to a realtime like game. |
||
= |
=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 |
||
| Line 77: | Line 77: | ||
===Classes of Objects Explained=== |
===Classes of Objects Explained=== |
||
Classes of Objects are the basic way of structuring Marauroa data structures. |
Classes of Objects are the basic way of structuring Marauroa data structures. |
||
You must use type attribute to make use of classes so value of type must be equal to a RPClass name. |
|||
A class defines types of the attributes and its visibility and gives it an internal code that is used to speed up searchs and save bandwidth. You can base a class on another, this feature is known as inheritance. |
A class defines types of the attributes and its visibility and gives it an internal code that is used to speed up searchs and save bandwidth. You can base a class on another, this feature is known as inheritance. |
||