#include <obj_gun.h>
Inheritance diagram for GunInterface:

Public Member Functions | |
| GunInterface (Object *_obj, FacingInterface *_facing, ObjectInfo *_missile_objinfo, float _speed, int _top_timer, int _dir) | |
| virtual | ~GunInterface () |
| virtual void | Event (int evt) |
| virtual void | HitTile (Tile *) |
| virtual void | HitObj (Object *) |
Protected Member Functions | |
| void | ResetCountdown () |
| bool | Countdown (int dt) |
| bool | Ready () |
| void | Fire () |
Protected Attributes | |
| Object * | obj |
| FacingInterface * | facing |
| ObjectInfo * | missile_objinfo |
| float | speed |
| int | timer |
| int | top_timer |
| int | dir |
|
||||||||||||||||||||||||||||
|
|
|
|
|
|
|
Convenience Function |
|
|
Reimplemented in GunPlayer, and GunPeriodic. |
|
|
Convenience Function |
|
|
|
|
|
|
|
|
Convenience Function |
|
|
Convenience Function |
|
|
direction covering facing |
|
|
facing module for aiming |
|
|
missile blueprints |
|
|
object attached to |
|
|
speed of missile |
|
|
countdown until ready to fire again (OPTIONAL TO USE) |
|
|
top value |
1.3-rc3