#include <MineField.h>
Inheritance diagram for MineField:
Public Member Functions | |
MineField (int mineType, const Location &L, int num, Player *owner) | |
int | GetNumMines () const |
void | AddMines (const Location &L, int n) |
void | Sweep (const Fleet *F) |
void | Decay (int numPlanets) |
void | ReduceFieldCollision () |
bool | TestCollide (const Location &L, int warp) |
bool | CollisionPossible (const Location &L1, const Location &L2) |
bool | InField (int x, int y) |
bool | InField (const Location &L) |
int | GetMineType () const |
double | GetRadius () const |
bool | IsEmpty () const |
virtual long | GetCargoCapacity () const |
virtual double | GetMaxTachyon () const |
virtual long | GetScanPen () const |
virtual long | GetScanSpace () const |
virtual bool | CanLoadBy (const Player *) const |
virtual void | SetCanLoadBy (const Player *) |
virtual long | GetCloak (const Player *p, bool pen) const |
Protected Member Functions | |
bool | RectFilter (int x1, int y1, int x2, int y2) |
Protected Attributes | |
deque< bool > | mHadSeen |
int | mNumMines |
int | mMineType |
Player * | mOwner |
Mine fields are deployed by minelaying ships.
Definition at line 50 of file MineField.h.