Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

MineType Class Reference

#include <objects.h>

Inheritance diagram for MineType:

Inheritance graph
[legend]
List of all members.

Public Member Functions

int getID () const
 MineType (MineTypes t)
 MineType (const MineType &w)
ASCString getName () const
void paint (Surface &surface, const SPoint &pos) const

Static Public Member Functions

static void paint (MineTypes type, int player, Surface &surf, const SPoint &pos)

Public Attributes

int id
vector< int > secondaryIDs
 not really used for minetypes.
ASCString name
ASCString location

Constructor & Destructor Documentation

MineType::MineType MineTypes  t  )  [inline]
 

Definition at line 81 of file objects.h.

MineType::MineType const MineType w  )  [inline]
 

Definition at line 82 of file objects.h.


Member Function Documentation

int MineType::getID  )  const [inline, virtual]
 

Implements MapItemType.

Definition at line 79 of file objects.h.

References id.

ASCString MineType::getName  )  const [inline, virtual]
 

Implements MapItemType.

Definition at line 83 of file objects.h.

References MineNames.

void MineType::paint MineTypes  type,
int  player,
Surface surf,
const SPoint pos
[static]
 

Definition at line 46 of file objects.cpp.

References cmantipersonnelmine, cmantitankmine, cmfloatmine, cmmooredmine, IconRepository::getIcon(), and nullParam.

void MineType::paint Surface surface,
const SPoint pos
const
 

Definition at line 41 of file objects.cpp.

Referenced by MineItem::display(), and Mine::paint().


Member Data Documentation

int MineType::id
 

Definition at line 71 of file objects.h.

Referenced by getID(), mineComp(), and MineItem::place().

ASCString MineType::location
 

Definition at line 77 of file objects.h.

ASCString MineType::name
 

Definition at line 76 of file objects.h.

vector<int> MineType::secondaryIDs
 

not really used for minetypes.

Definition at line 74 of file objects.h.


The documentation for this class was generated from the following files:
Generated on Tue Jun 24 02:18:24 2008 for Advanced Strategic Command by  doxygen 1.4.2