00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef _OPENCITY_MOVEMENTMANAGER_H_
00021 #define _OPENCITY_MOVEMENTMANAGER_H_ 1
00022
00023 #include "main.h"
00024
00025 #define OC_MOVEMENT_MAX 100
00026
00027 using std::vector;
00028
00029 class Movement;
00030 class GraphicManager;
00031 class Map;
00032
00033
00034
00037 class MovementManager {
00038 public:
00039 MovementManager(
00040 const GraphicManager* gm,
00041 const Map* map
00042 );
00043 ~MovementManager();
00044
00045 const int
00046 Add(
00047 Movement* const pNew );
00048
00049
00050
00054 void
00055 Remove(
00056 const int ciIndex = -1);
00057
00058
00059
00064 void
00065 Move(
00066 const int ciIndex = -1 );
00067
00068 void
00069 Display(
00070 const int ciIndex = - 1 );
00071
00072
00073 private:
00074 Movement* tabmvt [OC_MOVEMENT_MAX];
00075 const GraphicManager* pcGraphicMgr;
00076 const Map* pcMap;
00077 };
00078 #endif
00079
00080
00081
00082
00083
00084
00085
00086
00087
00088
00089
00090
00091
00092
00093
00094
00095
00096
00097
00098
00099
00100
00101
00102
00103
00104
00105
00106
00107
00108
00109
00110
00111
00112
00113
00114