Content deleted Content added
|
|
| Line 30: |
Line 30: |
|
|
|
|
|
RPManager provides a simple interface to the GameManager for using it: |
|
RPManager provides a simple interface to the GameManager for using it: |
|
⚫ |
* addRPAction <br> addRPAction simply queues an action for that player to be executed on the next turn. |
|
* addRPAction |
|
|
⚫ |
* getRPObject <br> getRPObject is a interface to manage RPWorld to ease the adquisition of the RPObject when exiting the game. |
|
* getRPObject |
|
|
* onInit Player |
|
* onInit Player |
|
⚫ |
* onExit Player<br> onInit and onExit are callback functions that are used by GameManager to notify that a player has entered the game or that a player has exit the game. |
|
* onExit Player |
|
|
⚫ |
* transferContent<br> transferContent is a callback function too that is called by RPRuleProcessor to stream content to players. |
|
* transferContent |
|
|
|
|
| ⚫ |
addRPAction simply queues an action for that player to be executed on the next turn. |
|
|
|
|
| ⚫ |
getRPObject is a interface to manage RPWorld to ease the adquisition of the RPObject when exiting the game. |
|
|
|
|
| ⚫ |
onInit and onExit are callback functions that are used by GameManager to notify that a player has entered the game or that a player has exit the game. |
|
|
|
|
| ⚫ |
transferContent is a callback function too that is called by RPRuleProcessor to stream content to players. |
|
|
|
|
|
|
The main outline of RPManager could be: |
|
The main outline of RPManager could be: |