Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/trunk/src/lib/network/synchronisable.h @ 5067

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

orxonox/trunk: useless stuff :)

File size: 724 bytes
RevLine 
[4471]1/*!
[5039]2 * @file synchronisable.h
[4471]3    \brief informations about objects, that needs to be synchronized over the network
[2036]4
[4471]5    this is just an idea, no implementatin yet. but sounds very good to me!
6*/
7
[3224]8#ifndef _SYNCHRONISABLE_H
9#define _SYNCHRONISABLE_H
[2036]10
11
12
[4471]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
[2036]21class Synchronisable {
22
23 public:
24  Synchronisable ();
25  ~Synchronisable ();
26
27  worldEntityState* getState();
[4471]28  void setState(worldEntityState* state);
[2036]29
[4471]30  worldentityState state;            //!< the current state of the object
[2036]31};
32
[3224]33#endif /* _SYNCHRONISABLE_H */
Note: See TracBrowser for help on using the repository browser.