Changeset 10930 for code/branches/hoverHS15/src/modules/hover/HoverFlag.cc
- Timestamp:
- Dec 7, 2015, 2:32:47 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/hoverHS15/src/modules/hover/HoverFlag.cc
r10928 r10930 21 21 * 22 22 * Author: 23 * Fabien Vultier23 * Manuel Meier 24 24 * Co-authors: 25 25 * ... … … 29 29 /** 30 30 @file HoverFlag.cc 31 @brief All platforms in this minigame inherit from this class. The basic functions of a platform (interact with figure) is implemented here. Special functions are implemented in the specialized classes.31 @brief The Flags that are being set in the Hover Minigame They support two coordinates from 0-9 each 32 32 */ 33 33 … … 56 56 } 57 57 58 /** 59 @brief 60 Constructor that expects two coordinate-values in the range 0-9 61 @param xCoordinate 62 X-Coordinate of the flage, 0-9, origin is bottom left 63 @param yCoordinate 64 Y-Coordinate of the flage, 0-9, origin is bottom left 65 */ 58 66 HoverFlag::HoverFlag(Context* context, int xCoordinate, int yCoordinate) : StaticEntity(context) 59 67 { … … 92 100 } 93 101 94 //xml port for loading height and width of the platform102 //xml port unused 95 103 void HoverFlag::XMLPort(Element& xmlelement, XMLPort::Mode mode) 96 104 { … … 104 112 @brief 105 113 Is called every tick. 106 Handles the movement of the ball and its interaction with the boundaries and bats.107 114 @param dt 108 115 The time since the last tick. … … 114 121 } 115 122 123 /** 124 @brief 125 Checks if the Hovership collided with the flag 126 */ 116 127 bool HoverFlag::collidesAgainst(WorldEntity* otherObject, const btCollisionShape* ownCollisionShape, btManifoldPoint& contactPoint) 117 128 {
Note: See TracChangeset
for help on using the changeset viewer.