Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

GunPlayer Class Reference

#include <obj_gun.h>

Inheritance diagram for GunPlayer:

GunInterface List of all members.

Public Member Functions

 GunPlayer (Object *_obj, FacingInterface *_facing, ObjectInfo *_missile_objinfo, float _speed, int _top_timer, int _dir, int _key_bits)
virtual ~GunPlayer ()
virtual void Event (int evt)
int AmmoLeft ()
void GrantAmmo (int new_ammo)
void SetAmmo (int new_ammo)

Private Attributes

int key_bits
int ammo

Constructor & Destructor Documentation

GunPlayer::GunPlayer Object   _obj,
FacingInterface   _facing,
ObjectInfo   _missile_objinfo,
float    _speed,
int    _top_timer,
int    _dir,
int    _key_bits
[inline]
 

virtual GunPlayer::~GunPlayer   [inline, virtual]
 


Member Function Documentation

int GunPlayer::AmmoLeft  
 

void GunPlayer::Event int    evt [virtual]
 

Reimplemented from GunInterface.

void GunPlayer::GrantAmmo int    new_ammo
 

void GunPlayer::SetAmmo int    new_ammo
 


Member Data Documentation

int GunPlayer::ammo [private]
 

int GunPlayer::key_bits [private]
 


The documentation for this class was generated from the following files:
Generated on Sun Mar 2 18:50:28 2003 for eounicorn by doxygen1.3-rc3