Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/towerdefenseHS14/src/modules/towerdefense/TowerTurret.cc @ 10134

Last change on this file since 10134 was 10091, checked in by erbj, 10 years ago

Testing: first commit

File size: 753 bytes
Line 
1//
2//  Tower.cc
3//  Orxonox
4//
5//  Created by Fabian Mentzer on 29.04.12.
6//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
7//
8
9/* Not implemented fully */
10
11//#include "Tower.h"
12#include "TowerTurret.h"
13
14#include "core/CoreIncludes.h"
15//#include "core/XMLPort.h"
16
17namespace orxonox
18{
19    RegisterClass(TowerTurret);
20
21    /**
22    @brief
23        Constructor. Registers and initializes the object.
24    */
25    TowerTurret::TowerTurret(Context* context) : StaticEntity(context)
26    {
27        RegisterObject(TowerTurret);
28
29        this->setCollisionType(WorldEntity::Static);
30
31
32    }
33
34    void TowerTurret::setOrientation(const Quaternion& orientation)
35    {
36        static int ori;
37        orxout() << "orientation " << ++ori << endl;
38    }
39
40
41}
Note: See TracBrowser for help on using the repository browser.