Changeset 9ba9b96 in network-game for common/WorldMap.h
- Timestamp:
- Jan 20, 2014, 4:59:34 PM (11 years ago)
- Branches:
- master
- Children:
- 949cf70
- Parents:
- d998572
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
common/WorldMap.h
rd998572 r9ba9b96 32 32 class Object { 33 33 public: 34 int id;34 unsigned int id; 35 35 ObjectType type; 36 36 POSITION pos; 37 37 38 Object( int id, ObjectType type, int x, int y);39 Object( int id, ObjectType type, POSITION pos);38 Object(unsigned int id, ObjectType type, int x, int y); 39 Object(unsigned int id, ObjectType type, POSITION pos); 40 40 41 41 ~Object(); … … 65 65 66 66 void addObject(ObjectType type, int x, int y); 67 void updateObject( int id, WorldMap::ObjectType t, int x, int y);68 bool removeObject( int id);67 void updateObject(unsigned int id, WorldMap::ObjectType t, int x, int y); 68 bool removeObject(unsigned int id); 69 69 70 70 static WorldMap* createDefaultMap();
Note:
See TracChangeset
for help on using the changeset viewer.