Main Page   Class Hierarchy   Data Structures   File List   Data Fields   Globals   Related Pages  

CWeapon Class Reference

Blablabla foo. More...

#include <weapon.h>


Public Member Functions

 CWeapon (istream *aStream)
 Constructor from stream.

 CWeapon (const CWeapon *aWeapon)
 Copy constructor.

int bulletCount ()
 Getter for bullet count.

float bulletSpeed ()
 Getter for bullet speed.

float explosionRadius ()
 Getter for explosion radius.

float explosionSpeed ()
 Getter for explosion speed.

float damage ()
 Getter for bullet damage.


Detailed Description

Blablabla foo.


Constructor & Destructor Documentation

CWeapon::CWeapon istream *    aStream
 

Constructor from stream.

Creates a weapon preference container, reading data from aStream.

Parameters:
aStream Stream containing info for the.


Member Function Documentation

int CWeapon::bulletCount  
 

Getter for bullet count.

Returns:
Amount of bullets available.

float CWeapon::bulletSpeed  
 

Getter for bullet speed.

Returns:
Speed of bullet in tiles/turn.

float CWeapon::damage  
 

Getter for bullet damage.

Returns:
Amount of damage done when hit/caught in explosion.

float CWeapon::explosionRadius  
 

Getter for explosion radius.

Returns:
Radius of explosion of bullet in tiles, 0 for non-explosive bullet.

float CWeapon::explosionSpeed  
 

Getter for explosion speed.

Returns:
Explosion radius growth speed in tiles/turn.


The documentation for this class was generated from the following file:
Generated on Mon Jun 9 22:02:26 2003 for Drunken Bot III by doxygen1.3-rc3