- Timestamp:
- Apr 22, 2011, 6:42:42 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/spaceboundaries/src/orxonox/worldentities/SpaceBoundaries.h
r8281 r8301 27 27 */ 28 28 29 /* TODO: - Mehrere SpaceBoundaries-Instanzen pro Level ermoeglichen 30 - Pro Pawn ein Billboard verwenden 29 /* TODO: - Sobald Bots im Spiel sind, stürzt das Programm relativ bald ab!!! 31 30 */ 32 31 … … 52 51 #include "worldentities/WorldEntity.h" 53 52 54 //#include <ColoredTextAreaOverlayElementFactory.h>55 56 53 #include <string> 57 54 #include <list> 55 #include <map> 56 #include <vector> 58 57 59 58 /** … … 78 77 ~SpaceBoundaries(); 79 78 80 void checkWhoIsIn(); 79 void checkWhoIsIn(); //!< Update the list 'pawnsIn_'. 80 81 void positionBillboard(const Vector3 position); 82 void setBillboardOptions(Billboard *billy); 83 void removeAllBillboards(); 81 84 82 85 void setMaxDistance(float r); … … 97 100 98 101 private: 99 std::list<Pawn*> pawnsIn_; 102 struct billboardAdministration{ bool usedYet; Billboard* billy; }; 103 104 std::list<Pawn*> pawnsIn_; //!< List of the pawns that this instance of SpaceBoundaries has to handle. 105 106 std::vector<billboardAdministration> billboards_; 100 107 101 108 float maxDistance_; //!< maximal zulaessige Entfernung von 'this->getPosition()'. … … 116 123 bool isHumanPlayer(Pawn *item); 117 124 118 // ColoredTextAreaOverlayElementFactory* pColoredTextAreaOverlayElementFactory;119 125 }; 120 126 }
Note: See TracChangeset
for help on using the changeset viewer.