- Timestamp:
- May 2, 2012, 1:22:20 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/newlevel2012/src/modules/towerdefense/TowerDefenseCenterpoint.cc
r9141 r9143 69 69 XMLPortParam(TowerDefenseCenterpoint, "height", setHeight, setWidth, xmlelement, mode); 70 70 XMLPortParam(TowerDefenseCenterpoint, "towerTemplate", setTowerTemplate, getTowerTemplate, xmlelement, mode); 71 //TODO: add XMLPortObject(TowerDefenseCenterpoint, WorldEntity, "waypoints", addWaypoint, getWaypoint, xmlelement, mode); 72 // This was copied and shightly modified from WaypointController.cc ; there are no getters and setters and no membervariable yet 73 // The centerpoint should have all waypoints for "attached" to it. By using this function you can seperately add waypoints 74 // When you spawn a new enemy you should let it be controlled by a WaypointController. And that controller should get the waypoints. 75 76 // Alternatively you can manage the waypoints directly in TowerDefense.cc 71 77 } 72 78
Note: See TracChangeset
for help on using the changeset viewer.