Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 16, 2019, 5:16:22 PM (6 years ago)
Author:
ahuwyler
Message:

BOUNCE

Location:
code/branches/OrxoBlox_FS19/src/modules/OrxoBlox
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • code/branches/OrxoBlox_FS19/src/modules/OrxoBlox/OrxoBloxStones.cc

    r12360 r12393  
    1313        Constructor. Registers and initializes the object.
    1414    */
    15     OrxoBloxStones::OrxoBloxStones(Context* context) : StaticEntity(context)
     15    OrxoBloxStones::OrxoBloxStones(Context* context) : Pawn(context)
    1616    {
    1717        RegisterObject(OrxoBloxStones);
  • code/branches/OrxoBlox_FS19/src/modules/OrxoBlox/OrxoBloxStones.h

    r12360 r12393  
    77
    88#include "worldentities/StaticEntity.h"
     9#include "worldentities/pawns/Pawn.h"
    910#include "tools/Timer.h"
    1011
     
    1920    @ingroup OrxoBlox
    2021    */
    21     class _OrxoBloxExport OrxoBloxStones : public StaticEntity
     22    class _OrxoBloxExport OrxoBloxStones : public Pawn
    2223    {
    2324        public:
  • code/branches/OrxoBlox_FS19/src/modules/OrxoBlox/OrxoBloxWall.cc

    r12392 r12393  
    3535                this->size_ = 9.0f;
    3636                OrxoBloxStones* stone = new OrxoBloxStones(this->center_->getContext());
     37                stone->addTemplate(this->orxoblox_->getCenterpoint()->getStoneTemplate());
    3738                if (stone == nullptr) {
    3839                    std::abort();
Note: See TracChangeset for help on using the changeset viewer.