Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/presentationHS14merge/src/modules/towerdefense/TowerTurret.cc @ 10255

Last change on this file since 10255 was 10248, checked in by landauf, 10 years ago

merged towerdefenseHS14 (except some debug code)

  • Property svn:eol-style set to native
File size: 753 bytes
RevLine 
[10091]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.