Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/branches/guidedmissile/src/lib/network/synchronisable.h @ 5855

Last change on this file since 5855 was 5039, checked in by bensch, 19 years ago

orxonox/trunk: useless stuff :)

File size: 724 bytes
Line 
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*/
7
8#ifndef _SYNCHRONISABLE_H
9#define _SYNCHRONISABLE_H
10
11
12
13//! this is a... ehm... i have no idea...
14typedef struct worldEntityState
15{
16  int    entity;                   //!< probably a entity id? hm...
17};
18
19
20//! an abstract class to handle the synchronisation process
21class Synchronisable {
22
23 public:
24  Synchronisable ();
25  ~Synchronisable ();
26
27  worldEntityState* getState();
28  void setState(worldEntityState* state);
29
30  worldentityState state;            //!< the current state of the object
31};
32
33#endif /* _SYNCHRONISABLE_H */
Note: See TracBrowser for help on using the repository browser.