#include <eGameObject.h>


Public Member Functions | |
| eReferencableGameObject (eGrid *grid, const eCoord &p, const eCoord &d, eFace *currentface, bool autodelete=1) | |
| virtual void | AddRef () |
| adds a reference | |
| virtual void | Release () |
| removes a reference | |
Private Member Functions | |
| virtual void | DoRemoveFromGame () |
| called when removed from the game | |
Definition at line 227 of file eGameObject.h.
| eReferencableGameObject::eReferencableGameObject | ( | eGrid * | grid, | |
| const eCoord & | p, | |||
| const eCoord & | d, | |||
| eFace * | currentface, | |||
| bool | autodelete = 1 | |||
| ) |
Definition at line 923 of file eGameObject.cpp.
00924 : eGameObject( grid, p, d, currentface, autodelete ) 00925 { 00926 }
| void eReferencableGameObject::AddRef | ( | void | ) | [virtual] |
adds a reference
Implements eGameObject.
Definition at line 929 of file eGameObject.cpp.
References tReferencable< T, MUTEX >::AddRef().
00930 { 00931 tReferencable< eReferencableGameObject >::AddRef(); 00932 }

| void eReferencableGameObject::Release | ( | ) | [virtual] |
removes a reference
Implements eGameObject.
Definition at line 934 of file eGameObject.cpp.
References tReferencable< T, MUTEX >::Release().
00935 { 00936 tReferencable< eReferencableGameObject >::Release(); 00937 }

| void eReferencableGameObject::DoRemoveFromGame | ( | ) | [private, virtual] |
called when removed from the game
Reimplemented from eGameObject.
Definition at line 939 of file eGameObject.cpp.
00940 { 00941 // nothing needs to be done, the reference counting takes care of the destruction 00942 }
1.5.4