Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/CampaignMap_HS17/src/modules/towerdefense/TowerDefenseTower.h @ 11629

Last change on this file since 11629 was 11099, checked in by muemart, 9 years ago

Fix loads of doxygen warnings and other documentation issues

  • Property svn:eol-style set to native
File size: 1.3 KB
Line 
1//
2//  TowerDefenseTower.h
3//  Orxonox
4//
5//  Created by Fabian Mentzer on 29.04.12.
6//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
7//
8
9
10#ifndef Orxonox_TowerDefenseTower_h
11#define Orxonox_TowerDefenseTower_h
12
13#include "towerdefense/TowerDefensePrereqs.h"
14#include "objects/Turret.h"
15
16
17namespace orxonox
18{
19    /**
20    @brief
21    See TowerDefenseTowerDefenseReadme.txt for Information.
22
23    @ingroup TowerDefenseTowerDefense
24    */
25    class _TowerDefenseExport TowerDefenseTower : public Turret
26    {
27    public:
28        TowerDefenseTower(Context* context);
29        virtual ~TowerDefenseTower() {};
30
31        // Maybe later override these to move TowerDefenseTowers with cursor keys
32        /*
33        virtual void moveFrontBack(const Vector2& value);
34        virtual void moveRightLeft(const Vector2& value);
35        */
36
37        // Overriding these to stop TowerDefenseTowers from spasing out
38        //void setOrientation(const Quaternion& orientation);
39        //virtual void rotateYaw(const Vector2& value);
40        //virtual void rotatePitch(const Vector2& value);
41        //virtual void rotateRoll(const Vector2& value);
42        virtual bool upgradeTower();
43
44
45        void setGame(TowerDefense* Towerdefense)
46        { assert(Towerdefense); game_ = Towerdefense; }
47    private:
48        TowerDefense* game_;
49        int upgrade;
50    };
51}
52
53
54#endif
Note: See TracBrowser for help on using the repository browser.