|
BrainTrain
|
WeaponHUD class, provides the functions to add a HUD camera to the scene. More...
#include <WeaponHUD.h>
Classes | |
| class | WeaponSwitchHandler |
| EventHandler for WeaponSwitching. More... | |
Public Member Functions | |
| WeaponHUD () | |
| WeaponHUD (const WeaponHUD &, const CopyOp ©op=CopyOp::SHALLOW_COPY) | |
| ref_ptr< WeaponSwitchHandler > | getWeaponHandler () |
| void | addPortalGun () |
| a portal gun is added to the weapon switch More... | |
| ~WeaponHUD () | |
Private Member Functions | |
| void | createWeaponHUD () |
| creates a weapon hud with the default weapon crowbar More... | |
Private Attributes | |
| ref_ptr< Switch > | _switcher |
| ref_ptr< WeaponSwitchHandler > | _handler |
WeaponHUD class, provides the functions to add a HUD camera to the scene.
Use the mouse wheel to shift between weapons after picking up a second one
Definition at line 23 of file WeaponHUD.h.
| brtr::WeaponHUD::WeaponHUD | ( | ) |
Definition at line 18 of file WeaponHUD.cpp.
| brtr::WeaponHUD::WeaponHUD | ( | const WeaponHUD & | copy, |
| const CopyOp & | copyop = CopyOp::SHALLOW_COPY |
||
| ) |
Definition at line 11 of file WeaponHUD.cpp.
| brtr::WeaponHUD::~WeaponHUD | ( | ) |
Definition at line 65 of file WeaponHUD.cpp.
| void brtr::WeaponHUD::addPortalGun | ( | ) |
a portal gun is added to the weapon switch
Definition at line 73 of file WeaponHUD.cpp.
|
private |
creates a weapon hud with the default weapon crowbar
Definition at line 22 of file WeaponHUD.cpp.
| ref_ptr< WeaponHUD::WeaponSwitchHandler > brtr::WeaponHUD::getWeaponHandler | ( | ) |
Definition at line 69 of file WeaponHUD.cpp.
|
private |
Definition at line 73 of file WeaponHUD.h.
|
private |
Definition at line 72 of file WeaponHUD.h.