Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 21, 2018, 11:49:03 AM (5 years ago)
Author:
ottka
Message:

stop timer after round

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/OrxoKart_HS18/src/modules/orxokart/OrxoKartTile.h

    r12089 r12111  
    3939#include "objects/ObjectsPrereqs.h"
    4040
     41#include "OrxoKartKart.h"
    4142#include "worldentities/StaticEntity.h"
    4243
     
    5152            void init(int x, int z, int s, int type);
    5253
     54            virtual bool collidesAgainst(WorldEntity* otherObject, const btCollisionShape* ownCollisionShape, btManifoldPoint& contactPoint) override;
     55
     56            inline bool getCollided() const
     57                { return this->collided_; }
     58
     59            inline OrxoKartKart* getObjectofCollision() const
     60                { return this->kartCollider; }   
     61
     62            inline void setCollided(bool setValue)
     63                { this->collided_ = setValue; }
     64
    5365        private:
    5466            Model* model_;
    5567            BoxCollisionShape* cs_;
     68            bool collided_;
     69            OrxoKartKart* kartCollider;
    5670    };
    5771}
Note: See TracChangeset for help on using the changeset viewer.