Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/pickups/src/orxonox/objects/pickup/ShipItem.cc @ 2128

Last change on this file since 2128 was 2128, checked in by dsommer, 16 years ago

getnameofpermanents und switch

File size: 387 bytes
Line 
1#include "Shipitem.h"
2
3namespace orxonox
4{
5    itemtype ShipItem::CheckType()
6    {
7        return this.type;
8    }
9
10    subItemTypePermanent CheckSubType()
11    {
12        return this.subtype_permanent;
13    }
14
15    subItemTypePowerups CheckSubType()
16    {
17        return this.subtype_powerups;
18    }
19    subItemTypeUsable CheckSubType()
20    {
21        return this.subtype_usables;
22    }
23
24}
Note: See TracBrowser for help on using the repository browser.