Changeset 12393 for code/branches/OrxoBlox_FS19/src
- Timestamp:
- May 16, 2019, 5:16:22 PM (6 years ago)
- Location:
- code/branches/OrxoBlox_FS19/src/modules
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/OrxoBlox_FS19/src/modules/OrxoBlox/OrxoBloxStones.cc
r12360 r12393 13 13 Constructor. Registers and initializes the object. 14 14 */ 15 OrxoBloxStones::OrxoBloxStones(Context* context) : StaticEntity(context)15 OrxoBloxStones::OrxoBloxStones(Context* context) : Pawn(context) 16 16 { 17 17 RegisterObject(OrxoBloxStones); -
code/branches/OrxoBlox_FS19/src/modules/OrxoBlox/OrxoBloxStones.h
r12360 r12393 7 7 8 8 #include "worldentities/StaticEntity.h" 9 #include "worldentities/pawns/Pawn.h" 9 10 #include "tools/Timer.h" 10 11 … … 19 20 @ingroup OrxoBlox 20 21 */ 21 class _OrxoBloxExport OrxoBloxStones : public StaticEntity22 class _OrxoBloxExport OrxoBloxStones : public Pawn 22 23 { 23 24 public: -
code/branches/OrxoBlox_FS19/src/modules/OrxoBlox/OrxoBloxWall.cc
r12392 r12393 35 35 this->size_ = 9.0f; 36 36 OrxoBloxStones* stone = new OrxoBloxStones(this->center_->getContext()); 37 stone->addTemplate(this->orxoblox_->getCenterpoint()->getStoneTemplate()); 37 38 if (stone == nullptr) { 38 39 std::abort(); -
code/branches/OrxoBlox_FS19/src/modules/weapons/projectiles/BallProjectile.cc
r12388 r12393 142 142 Bounce(otherObject, contactPoint, cs); 143 143 orxout() << "BOUNCED!" << endl; 144 144 145 } 145 146 }
Note: See TracChangeset
for help on using the changeset viewer.