Changeset 4471 in orxonox.OLD for orxonox/trunk/src/lib/network/synchronisable.h
- Timestamp:
- Jun 2, 2005, 2:05:58 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/lib/network/synchronisable.h
r3476 r4471 1 /*! 2 \file synchronisable.h 3 \brief informations about objects, that needs to be synchronized over the network 4 5 this is just an idea, no implementatin yet. but sounds very good to me! 6 */ 1 7 2 8 #ifndef _SYNCHRONISABLE_H 3 9 #define _SYNCHRONISABLE_H 4 10 5 #include "data_tank.h"6 11 7 12 13 //! this is a... ehm... i have no idea... 14 typedef struct worldEntityState 15 { 16 int entity; //!< probably a entity id? hm... 17 }; 18 19 20 //! an abstract class to handle the synchronisation process 8 21 class Synchronisable { 9 22 … … 12 25 ~Synchronisable (); 13 26 14 struct worldEntityState { 15 /*Vector position; */ 16 /*Vector orientation; */ 17 }; 27 worldEntityState* getState(); 28 void setState(worldEntityState* state); 18 29 19 worldEntityState* getState(); 20 void setState(worldEntityState*); 21 30 worldentityState state; //!< the current state of the object 22 31 }; 23 32
Note: See TracChangeset
for help on using the changeset viewer.