CItem.h File Reference
Header file of an item.
More...
#include "CElement.h"
#include "CExplosion.h"
|
Classes |
class | CItem |
| An element in the arena which represents an item. More...
|
Enumerations |
enum | EItemType {
ITEM_NONE,
ITEM_BOMB,
ITEM_FLAME,
ITEM_KICK,
ITEM_ROLLER,
ITEM_SKULL,
ITEM_THROW,
ITEM_PUNCH,
ITEM_REMOTE,
NUMBER_OF_ITEMS
} |
| Describe a type of item. More...
|
enum | EItemPlace { ITEMPLACE_FLOOR,
ITEMPLACE_SOFTWALLS
} |
| Describes a possible kind of place for new items. See CItem::CreateItems(). More...
|
enum | EItemFlying {
ITEMFLYING_NONE = -1,
ITEMFLYING_UP = 0,
ITEMFLYING_DOWN,
ITEMFLYING_LEFT,
ITEMFLYING_RIGHT
} |
| Describes the flying state of an item. Is is flying? In which direction? More...
|
Detailed Description
Header file of an item.
Enumeration Type Documentation
Describes the flying state of an item. Is is flying? In which direction?
- Enumerator:
-
ITEMFLYING_NONE |
The item is not flying. |
ITEMFLYING_UP |
The item is flying and moving up. |
ITEMFLYING_DOWN |
The item is flying and moving down. |
ITEMFLYING_LEFT |
The item is flying and moving left. |
ITEMFLYING_RIGHT |
The item is flying and moving right. |
Describes a possible kind of place for new items. See CItem::CreateItems().
- Enumerator:
-
ITEMPLACE_FLOOR |
Create new items on the floor only. |
ITEMPLACE_SOFTWALLS |
Create new items under soft walls only. |
Describe a type of item.
- See also:
- CBomber::ItemEffect()
- Enumerator:
-
ITEM_NONE |
|
ITEM_BOMB |
Bomb item allows a bomber to drop more bombs. |
ITEM_FLAME |
Flame item allows a bomber to drop more powerful bombs. |
ITEM_KICK |
Kick item allows a bomber to kick bombs. |
ITEM_ROLLER |
Roller item allows a bomber to walk faster. |
ITEM_SKULL |
Skull item gives a bomber a sickness. |
ITEM_THROW |
Throw glove item allows a bomber to throw bombs. |
ITEM_PUNCH |
Boxing glove item allows a bomber to punch bombs. |
ITEM_REMOTE |
Remote bombs item allows a bomber to remotely control bomb fuse. |
NUMBER_OF_ITEMS |
The number of items (this includes ITEM_NONE). |