Changeset 6e66ffd in network-game for common/WorldMap.h
- Timestamp:
- May 21, 2013, 10:00:54 PM (12 years ago)
- Branches:
- master
- Children:
- 5f868c0
- Parents:
- cc1c6c1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
common/WorldMap.h
rcc1c6c1 r6e66ffd 33 33 class Object { 34 34 public: 35 int id; 35 36 ObjectType type; 36 37 POSITION pos; 37 38 38 Object(ObjectType type, int x, int y);39 Object(ObjectType type, POSITION pos);39 Object(ObjectType type, int id, int x, int y); 40 Object(ObjectType type, int id, POSITION pos); 40 41 41 42 ~Object(); … … 58 59 59 60 vector<Object> getObjects(int x, int y); 60 void addObject(int x, int y, ObjectType type); 61 void addObject(ObjectType type, int x, int y); 62 void updateObject(int id, WorldMap::ObjectType t, int x, int y); 61 63 62 64 static WorldMap* createDefaultMap();
Note:
See TracChangeset
for help on using the changeset viewer.