#include <explosivemines.h>
Inheritance diagram for Mine:

Public Member Functions | |
| Mine (MineTypes type, int strength, int player, GameMap *gamemap) | |
| bool | attacksunit (const Vehicle *veh) |
| can the mine attack this unit | |
| void | paint (Surface &surf, SPoint pos) |
| display the mine | |
Public Attributes | |
| MineTypes | type |
| int | strength |
| the effective punch of the mine | |
| int | player |
| the player who placed the mine; range 0 .. 7 | |
|
||||||||||||||||||||
|
Definition at line 65 of file explosivemines.cpp. References cgp_antipersonnelmine_lifetime, GameMap::getgameparameter(), and AgeableItem::lifetimer. |
|
|
can the mine attack this unit
Definition at line 40 of file explosivemines.cpp. References chfahrend, chgetaucht, chschwimmend, cmantipersonnelmine, cmantitankmine, cmfloatmine, cmm_trooper, cmmooredmine, ContainerBase::getMap(), ContainerBase::getOwner(), ContainerBaseType::hasFunction(), Vehicle::height, ContainerBaseType::ImmuneToMines, Vehicletype::movemalustyp, PEACE, player, Vehicle::typ, and type. |
|
||||||||||||
|
display the mine
Definition at line 58 of file explosivemines.cpp. References MineType::paint(), player, and type. Referenced by GetAttackerImage::visit(). |
|
|
the player who placed the mine; range 0 .. 7
Definition at line 40 of file explosivemines.h. Referenced by attacksunit(), copyFieldStep2(), and paint(). |
|
|
the effective punch of the mine
Definition at line 37 of file explosivemines.h. Referenced by copyFieldStep2(), and tmineattacksunit::setup(). |
|
|
Definition at line 34 of file explosivemines.h. Referenced by attacksunit(), copyFieldStep2(), paint(), tspfldloaders::readfields(), and tmineattacksunit::setup(). |
1.4.2