Changeset 11638 for code/branches/ScriptableController_HS17/src/orxonox/scriptablecontroller/scriptable_controller.h
- Timestamp:
- Dec 4, 2017, 4:17:59 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/ScriptableController_HS17/src/orxonox/scriptablecontroller/scriptable_controller.h
r11606 r11638 59 59 60 60 /** 61 * @brief Register a MobileEntity to the ScriptableController 62 * @param id The ID of the MobileEntity 63 * @param entity The MobileEntity 64 * 65 * The ScriptableController needs a list of all MobileEntity's so it can 66 * convert an ID to a MobileEntity. 67 */ 68 void registerMobileEntity(std::string id, MobileEntity *entity); 69 70 /** 61 71 * @brief Register a Pawn to the ScriptableController 62 72 * @param id The ID of the Pawn … … 101 111 102 112 /** 113 * @brief Convert an ID to a MobileEntity pointer 114 * @param id The ID of the MobileEntity 115 * @return A pointer to the MobileEntity, nullptr if it's not found 116 */ 117 MobileEntity *getMobileEntityByID(std::string id) const; 118 119 /** 103 120 * @brief Convert an ID to a Pawt pointer 104 121 * @param id The ID of the Pawn … … 111 128 PlayerInfo *player_; 112 129 std::map<std::string, WorldEntity*> worldEntities_; 130 std::map<std::string, MobileEntity*> mobileEntities_; 113 131 std::map<std::string, Pawn*> pawns_; 114 132 std::map<Pawn*, std::string> pawnsReverse_;
Note: See TracChangeset
for help on using the changeset viewer.