The AbstractPlayer class is the base class for interacting with a train and a camera.
More...
#include <abstractplayer.h>
The AbstractPlayer class is the base class for interacting with a train and a camera.
terminus::AbstractPlayer::AbstractPlayer |
( |
World & |
world, |
|
|
Train * |
train |
|
) |
| |
void terminus::AbstractPlayer::animateHit |
( |
| ) |
|
|
virtual |
Camera & terminus::AbstractPlayer::camera |
( |
| ) |
|
bool terminus::AbstractPlayer::hasLost |
( |
| ) |
|
bool terminus::AbstractPlayer::hasWon |
( |
| ) |
|
void terminus::AbstractPlayer::primaryAction |
( |
| ) |
|
|
virtual |
Triggers the primary action of the currently selected wagon.
void terminus::AbstractPlayer::primaryActionDebug |
( |
| ) |
|
|
virtual |
Triggers the primary debug action of the currently selected wagon (typically the primary action without cooldown limitations etc.)
unsigned int terminus::AbstractPlayer::selectedWagonIndex |
( |
| ) |
const |
void terminus::AbstractPlayer::switchToNextWagon |
( |
| ) |
|
void terminus::AbstractPlayer::switchToPreviousWagon |
( |
| ) |
|
void terminus::AbstractPlayer::switchToWagon |
( |
unsigned int |
wagonIndex | ) |
|
void terminus::AbstractPlayer::toggleCameraLock |
( |
| ) |
|
void terminus::AbstractPlayer::update |
( |
| ) |
|
|
virtual |
bool terminus::AbstractPlayer::m_animationInProgress |
|
protected |
Camera terminus::AbstractPlayer::m_camera |
|
protected |
unsigned int terminus::AbstractPlayer::m_selectedWagonIndex |
|
protected |
Train* terminus::AbstractPlayer::m_train |
|
protected |
World& terminus::AbstractPlayer::m_world |
|
protected |
The documentation for this class was generated from the following files: