Cookie Class Reference

#include <Extras.h>

Inheritance diagram for Cookie:

Inheritance graph
[legend]
Collaboration diagram for Cookie:

Collaboration graph
[legend]

Public Member Functions

 Cookie (const Vector2D &c, const double e, const int c_id=-1)
 ~Cookie ()

Constructor & Destructor Documentation

Cookie::Cookie const Vector2D c,
const double  e,
const int  c_id = -1
 

Definition at line 45 of file Extras.cc.

References OPTION_COOKIE_COLOUR, OPTION_COOKIE_RADIUS, the_arena, and the_opts.

00046   : Extras(c, the_opts.get_d(OPTION_COOKIE_RADIUS), e, 
00047            the_opts.get_l(OPTION_COOKIE_COLOUR))
00048 { 
00049   if( c_id == -1 )
00050     id = the_arena.increase_cookie_count();
00051   else
00052     id = c_id;
00053 
00054    log_file_char = 'C';
00055 }

Cookie::~Cookie  )  [inline]
 

Definition at line 49 of file Extras.h.

00049 {}


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