- Timestamp:
- Dec 11, 2015, 3:16:48 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/campaignHS15/src/orxonox/controllers/CommonController.h
r10955 r10968 23 23 * Gani Aliguzhinov 24 24 * Co-authors: 25 * Dominik Solenicki25 * ... 26 26 * 27 27 */ … … 49 49 CommonController(Context* context); 50 50 virtual ~CommonController(); 51 static float randomInRange(float a, float b); 52 static float distance(const ControllableEntity* entity1, const ControllableEntity* entity2); 51 static float randomInRange(float a, float b); //<! returns random number from a to b 52 static float distance(const ControllableEntity* entity1, const ControllableEntity* entity2); //<! returns distance between arguments 53 53 static bool sameTeam (ControllableEntity* entity1, ControllableEntity* entity2, Gametype* gt); 54 static bool isLooking(const ControllableEntity* entityThatLooks, const ControllableEntity* entityBeingLookedAt, float angle 55 static std::string getName(const Pawn* entity 54 static bool isLooking(const ControllableEntity* entityThatLooks, const ControllableEntity* entityBeingLookedAt, float angle) ; 55 static std::string getName(const Pawn* entity) ; 56 56 }; 57 57 }
Note: See TracChangeset
for help on using the changeset viewer.