WeaponPunch Class Reference

#include <Weapon.h>

Inheritance diagram for WeaponPunch:

Weapon List of all members.

Public Member Functions

 WeaponPunch ()
 WeaponPunch (std::string filename, Person *shooter)
WeaponPunchcopy (Person *shooter)
void shoot ()

Detailed Description

Definition at line 51 of file Weapon.h.


Constructor & Destructor Documentation

WeaponPunch::WeaponPunch  ) 
 

Definition at line 14 of file WeaponPunch.cpp.

Referenced by copy().

WeaponPunch::WeaponPunch std::string  filename,
Person shooter
 

Definition at line 20 of file WeaponPunch.cpp.

References Weapon::load(), and Parser::parse().


Member Function Documentation

WeaponPunch * WeaponPunch::copy Person shooter  )  [virtual]
 

Reimplemented from Weapon.

Definition at line 30 of file WeaponPunch.cpp.

References Weapon::_shooter, and WeaponPunch().

Referenced by Player::copy().

void WeaponPunch::shoot  ) 
 

Reimplemented from Weapon.

Definition at line 37 of file WeaponPunch.cpp.

References Weapon::_framesSinceShoot, Weapon::_shooter, Weapon::_waitShoot, ENEMY, CommandManager::execute(), Object::getBox(), Person::getXDirection(), CommandManager::instance(), LEFT, CollisionHandler::ObjsColliding(), and Person::setPos().

Referenced by Person::shoot().


The documentation for this class was generated from the following files:
Generated on Fri May 5 00:20:20 2006 for ProjectX by  doxygen 1.4.6-NO