Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 4, 2016, 6:19:07 PM (10 years ago)
Author:
landauf
Message:

cleanup in hover module

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentationHS15/src/modules/hover/HoverFlag.h

    r11040 r11041  
    3737
    3838#include "HoverPrereqs.h"
    39 #include "util/Math.h"
     39#include "objects/ObjectsPrereqs.h"
     40
    4041#include "worldentities/StaticEntity.h"
    41 #include "graphics/Model.h"   
    42 #include "objects/collisionshapes/BoxCollisionShape.h"
    43 
    4442
    4543namespace orxonox
     
    5048            HoverFlag(Context* context);
    5149            HoverFlag(Context* context, int xCoordinate, int yCoordinate, int cellSize);
     50            virtual ~HoverFlag();
     51
    5252            virtual bool collidesAgainst(WorldEntity* otherObject, const btCollisionShape* ownCollisionShape, btManifoldPoint& contactPoint);           
    53             virtual ~HoverFlag();
    54             virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);
    55             bool getCollided();
    56             void setCollided(bool setValue);
     53
     54            inline bool getCollided() const
     55                { return this->collided_; }
     56            inline void setCollided(bool setValue)
     57                { this->collided_ = setValue; }
    5758
    5859        private:
Note: See TracChangeset for help on using the changeset viewer.