#include <Driver.h>
Collaboration diagram for AutoGunner:

Public Member Functions | |
| AutoGunner (void) | |
| int | init (class VehicleSprite *target) |
| int | connect (class VehicleSprite *to) |
| void | disconnect (void) |
| bool | fire (void) |
| void | setTarget (Target *new_target) |
| void | dropTarget (void) |
| bool | getGunnerState (void) |
| void | update (void) |
Protected Member Functions | |
| void | calcAim (Target *target) |
Protected Attributes | |
| VehicleSprite * | vehicle |
| GroundTarget * | current_target |
| bool | doAim |
| bool | hasAimed |
| AutoGunner::AutoGunner | ( | void | ) | [inline] |
| void AutoGunner::calcAim | ( | Target * | target | ) | [protected] |
| int AutoGunner::connect | ( | class VehicleSprite * | to | ) |
| void AutoGunner::disconnect | ( | void | ) | [inline] |
| void AutoGunner::dropTarget | ( | void | ) |
| bool AutoGunner::fire | ( | void | ) |
| bool AutoGunner::getGunnerState | ( | void | ) | [inline] |
| int AutoGunner::init | ( | class VehicleSprite * | target | ) |
| void AutoGunner::setTarget | ( | Target * | new_target | ) |
| void AutoGunner::update | ( | void | ) |
GroundTarget* AutoGunner::current_target [protected] |
bool AutoGunner::doAim [protected] |
bool AutoGunner::hasAimed [protected] |
class VehicleSprite* AutoGunner::vehicle [protected] |
1.4.7