Last change
on this file since 10385 was
10258,
checked in by landauf, 10 years ago
|
merged presentationHS14merge back to trunk
|
-
Property svn:eol-style set to
native
|
File size:
753 bytes
|
Rev | Line | |
---|
[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 | |
---|
| 17 | namespace 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.