#include <world_template.h>
Collaboration diagram for CL_GameObject:

Public Types | |
| enum | EGameObjectMessageTypes { msgtype_full_update = 0, msgtype_tick_update = 1, msgtype_destroy = 2, msgtype_user = 1000 } |
Public Methods | |
| CL_GameObject (World *world, int object_type) | |
| Construction:. | |
| CL_GameObject (World *world, int object_type, const CL_NetObject &netobject) | |
| virtual | ~CL_GameObject () |
| World* | get_world () |
| Attributes:. | |
| bool | get_destroy_flag () |
| CL_NetObject& | get_netobject () |
| int | get_object_type () |
| void | set_destroy_flag (bool new_value=true) |
| Operations:. | |
| void | set_tick_rate (float time_per_tick) |
| void | send_full (const CL_NetComputer *dest=NULL) |
| void | send_tick (const CL_NetComputer *dest=NULL) |
| void | send_destroy (const CL_NetComputer *dest=NULL) |
| void | recv_full (CL_InputSource &message) |
| void | recv_tick (CL_InputSource &message) |
| void | recv_destroy (CL_InputSource &message) |
| virtual void | update (int time_elapsed) |
| Overrideables:. | |
| virtual void | read_full_update (CL_InputSource &message) |
| virtual void | read_tick_update (CL_InputSource &message) |
| virtual void | read_destroy (CL_InputSource &message) |
| virtual void | write_full_update (CL_OutputSource &message) |
| virtual void | write_tick_update (CL_OutputSource &message) |
| virtual void | write_destroy (CL_InputSource &message) |
| void | common_init () |
| Implementation:. | |
Public Attributes | |
| World* | world |
| int | object_type |
| bool | destroy_flag |
| CL_NetObject | netobject |
| float | tick_rate |
| float | tick_time |
| CL_Slot | slot_full |
| CL_Slot | slot_tick |
| CL_Slot | slot_destroy |
Definition at line 25 of file world_template.h.
|
|||
|
Definition at line 30 of file world_template.h. |
|
||||||
|
Construction:.
Definition at line 41 of file world_template.h. |
|
||||||||
|
Definition at line 48 of file world_template.h. |
|
||||
|
Definition at line 54 of file world_template.h. |
|
||||
|
Implementation:.
Definition at line 141 of file world_template.h. Referenced by CL_GameObject(). |
|
||||
|
Definition at line 60 of file world_template.h. |
|
||||
|
Definition at line 62 of file world_template.h. |
|
||||
|
Definition at line 64 of file world_template.h. |
|
||||
|
Attributes:.
Definition at line 58 of file world_template.h. |
|
||||
|
Definition at line 131 of file world_template.h. Referenced by recv_destroy(). |
|
||||
|
Definition at line 127 of file world_template.h. Referenced by recv_full(). |
|
||||
|
Definition at line 129 of file world_template.h. Referenced by recv_tick(). |
|
||||
|
Definition at line 106 of file world_template.h. |
|
||||
|
Definition at line 94 of file world_template.h. |
|
||||
|
Definition at line 101 of file world_template.h. |
|
||||
|
Definition at line 87 of file world_template.h. |
|
||||
|
Definition at line 72 of file world_template.h. |
|
||||
|
Definition at line 80 of file world_template.h. Referenced by update(). |
|
||||
|
Operations:.
Definition at line 68 of file world_template.h. Referenced by read_destroy(). |
|
||||
|
Definition at line 70 of file world_template.h. |
|
||||
|
Overrideables:.
Definition at line 113 of file world_template.h. |
|
||||
|
Definition at line 137 of file world_template.h. Referenced by send_destroy(). |
|
||||
|
Definition at line 133 of file world_template.h. Referenced by send_full(). |
|
||||
|
Definition at line 135 of file world_template.h. Referenced by send_tick(). |
|
|||
|
Definition at line 162 of file world_template.h. |
|
|||
|
Definition at line 163 of file world_template.h. |
|
|||
|
Definition at line 161 of file world_template.h. |
|
|||
|
Definition at line 169 of file world_template.h. |
|
|||
|
Definition at line 167 of file world_template.h. |
|
|||
|
Definition at line 168 of file world_template.h. |
|
|||
|
Definition at line 164 of file world_template.h. |
|
|||
|
Definition at line 165 of file world_template.h. |
|
|||
|
Definition at line 160 of file world_template.h. |
1.2.6 written by Dimitri van Heesch,
© 1997-2001