Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 24, 2012, 10:07:43 PM (12 years ago)
Author:
landauf
Message:

tower defense update (again, now hopefully successful)

Location:
code/branches/presentation2012
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2012

  • code/branches/presentation2012/src/modules/towerdefense/Tower.h

    r9229 r9245  
    2020#include "towerdefense/TowerDefensePrereqs.h"
    2121#include "worldentities/pawns/SpaceShip.h"
     22       
    2223
    2324namespace orxonox
    2425{
    25     class _OrxonoxExport Tower : public SpaceShip
     26    class _OrxonoxExport Tower : public Pawn
    2627    {
    2728        public:
     
    2930                virtual ~Tower() {};
    3031               
     32                // Maybe later override these to move towers with cursor keys
     33                /*
    3134                virtual void moveFrontBack(const Vector2& value);
    3235                virtual void moveRightLeft(const Vector2& value);
     36                */
     37               
     38                // Overriding these to stop towers from spasing out
     39                void setOrientation(const Quaternion& orientation);
     40        virtual void rotateYaw(const Vector2& value);
     41        virtual void rotatePitch(const Vector2& value);
     42        virtual void rotateRoll(const Vector2& value);
    3343               
    3444                void setGame(TowerDefense* towerdefense)
Note: See TracChangeset for help on using the changeset viewer.