Mine Class Reference

#include <Extras.h>

Inheritance diagram for Mine:

Inheritance graph
[legend]
Collaboration diagram for Mine:

Collaboration graph
[legend]

Public Member Functions

 Mine (const Vector2D &c, const double e, const int m_id=-1)
 ~Mine ()

Constructor & Destructor Documentation

Mine::Mine const Vector2D c,
const double  e,
const int  m_id = -1
 

Definition at line 57 of file Extras.cc.

References OPTION_MINE_COLOUR, OPTION_MINE_RADIUS, the_arena, and the_opts.

00058   : Extras(c, the_opts.get_d(OPTION_MINE_RADIUS), e, 
00059            the_opts.get_l(OPTION_MINE_COLOUR))
00060 { 
00061   if( m_id == -1 )
00062     id = the_arena.increase_mine_count();
00063   else
00064     id = m_id;
00065 
00066    log_file_char = 'M';
00067 }

Mine::~Mine  )  [inline]
 

Definition at line 60 of file Extras.h.

00060 {}


The documentation for this class was generated from the following files:
Generated on Fri Oct 15 15:50:14 2004 for Real Time Battle by  doxygen 1.3.9.1