- Timestamp:
- May 11, 2017, 3:18:27 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/SuperOrxoBros_FS17/src/modules/superorxobros/SOBFlagstone.cc
r11412 r11416 21 21 * 22 22 * Author: 23 * Fabien Vultier23 * Julien 24 24 * Co-authors: 25 * ...25 * 26 26 * 27 27 */ … … 29 29 /** 30 30 @file SOBFlagstone.cc 31 @brief All items in this minigame inherit from this class. Items can move around like platforms and enemies.31 @brief The flagstone, as described in the h file 32 32 */ 33 33 … … 44 44 RegisterClass(SOBFlagstone); 45 45 46 SOBFlagstone::SOBFlagstone(Context* context) : MovableEntity(context)46 SOBFlagstone::SOBFlagstone(Context* context) : StaticEntity(context) 47 47 { 48 48 RegisterObject(SOBFlagstone); … … 50 50 setAngularFactor(0.0); 51 51 this->enableCollisionCallback(); 52 52 53 53 hasCollided_=false; 54 54 55 55 56 56 } 57 57 … … 64 64 65 65 66 66 } 67 67 68 68 69 69 bool SOBFlagstone::collidesAgainst(WorldEntity* otherObject, const btCollisionShape* ownCollisionShape, btManifoldPoint& contactPoint) { 70 70 71 72 73 orxout() << "Watshc bum baem" << otherObject->getMass()<< endl; 74 return true; 71 return true; 75 72 } 76 73 77 74 78 75 79 76 80 77 81 78 82 79 }
Note: See TracChangeset
for help on using the changeset viewer.