source:
code/trunk/src/orxonox/objects/pickup/ShipItem.cc
@
2948
| Last change on this file since 2948 was 2662, checked in by rgrieder, 17 years ago | |
|---|---|
|
|
| File size: 391 bytes | |
| Rev | Line | |
|---|---|---|
| [1998] | 1 | #include "Shipitem.h" |
| 2 | ||
| [2089] | 3 | namespace orxonox |
| [2083] | 4 | { |
| [2089] | 5 | itemtype ShipItem::CheckType() |
| [2083] | 6 | { |
| [2662] | 7 | return this->type; |
| [2083] | 8 | } |
| [1998] | 9 | |
| [2089] | 10 | subItemTypePermanent CheckSubType() |
| [2083] | 11 | { |
| [2662] | 12 | return this->subtype_permanent; |
| [2089] | 13 | } |
| [2662] | 14 | |
| 15 | subItemTypePowerups CheckSubType() | |
| 16 | { | |
| 17 | return this->subtype_powerups; | |
| 18 | } | |
| 19 | subItemTypeUsable CheckSubType() | |
| 20 | { | |
| 21 | return this->subtype_usables; | |
| 22 | } | |
| 23 | ||
| [2083] | 24 | } |
Note: See TracBrowser
for help on using the repository browser.










