Last change
on this file since 12310 was
12307,
checked in by ahuwyler, 6 years ago
|
A Stone is in the game/ Templates are ajusted
|
File size:
468 bytes
|
Rev | Line | |
---|
[12251] | 1 | #include "OrxoBloxStones.h" |
---|
[12307] | 2 | |
---|
[12251] | 3 | #include "core/CoreIncludes.h" |
---|
| 4 | #include "core/XMLPort.h" |
---|
| 5 | |
---|
| 6 | #include "OrxoBlox.h" |
---|
| 7 | |
---|
| 8 | namespace orxonox |
---|
| 9 | { |
---|
| 10 | RegisterClass(OrxoBloxStones); |
---|
| 11 | /** |
---|
| 12 | @brief |
---|
| 13 | Constructor. Registers and initializes the object. |
---|
| 14 | */ |
---|
| 15 | OrxoBloxStones::OrxoBloxStones(Context* context) : StaticEntity(context) |
---|
| 16 | { |
---|
| 17 | RegisterObject(OrxoBloxStones); |
---|
| 18 | |
---|
| 19 | this->size_ = 10.0f; |
---|
| 20 | this->health_ = 10; |
---|
| 21 | this->delay_ = false; |
---|
| 22 | } |
---|
| 23 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.