Torque3D Documentation / _generateds / extendedGameProcess.h

extendedGameProcess.h

Engine/source/T3D/gameBase/extended/extendedGameProcess.h

More...

Classes:

class

List to keep track of GameBases to process.

Detailed Description

 1
 2#ifndef _GAMEPROCESS_EXTENDED_H_
 3#define _GAMEPROCESS_EXTENDED_H_
 4
 5//#include "T3D/gameBase/processList.h"
 6#ifndef _GAMEPROCESS_H_
 7#include "T3D/gameBase/gameProcess.h"
 8#endif
 9
10class GameBase;
11class GameConnection;
12struct Move;
13
14//----------------------------------------------------------------------------
15
16/// List to keep track of GameBases to process.
17class ExtendedClientProcessList : public ClientProcessList
18{
19   typedef ClientProcessList Parent;
20
21protected:
22   
23   // ProcessList
24   void onTickObject(ProcessObject *);
25   void advanceObjects();
26   void onAdvanceObjects();
27   
28public:
29
30   ExtendedClientProcessList();  
31
32   // ProcessList
33   bool advanceTime( SimTime timeDelta );
34   
35   // ClientProcessList
36   void clientCatchup( GameConnection *conn );
37   
38   static void init();
39   static void shutdown();
40};
41
42class ExtendedServerProcessList : public ServerProcessList
43{
44   typedef ServerProcessList Parent;
45
46protected:
47
48   // ProcessList
49   void onPreTickObject( ProcessObject *pobj );
50   void onTickObject( ProcessObject *pobj );
51   void advanceObjects();
52
53public:
54
55   ExtendedServerProcessList();  
56
57   static void init();
58   static void shutdown();
59};
60
61#endif   // _GAMEPROCESS_EXTENDED_H_
62