HoverRace
2.0
|
#include <ActionPerformers.h>
Public Member Functions | |
PlayerEffectAction (std::string name, int listOrder, MainCharacter::MainCharacter *mc) | |
virtual void | operator() (int value)=0 |
void | SetMainCharacter (MainCharacter::MainCharacter *mc) |
![]() | |
ControlAction () | |
ControlAction (const std::string &name, int listOrder) | |
virtual | ~ControlAction () |
int | GetListOrder () const noexcept |
const std::string & | GetName () const noexcept |
Protected Attributes | |
MainCharacter::MainCharacter * | mc |
![]() | |
int | listOrder |
std::string | name |
HoverRace::Control::PlayerEffectAction::PlayerEffectAction | ( | std::string | name, |
int | listOrder, | ||
MainCharacter::MainCharacter * | mc | ||
) |
|
pure virtual |
Implements HoverRace::Control::ControlAction< int >.
Implemented in HoverRace::Control::LookBackAction, HoverRace::Control::BrakeAction, HoverRace::Control::ChangeItemAction, HoverRace::Control::PowerupAction, HoverRace::Control::JumpAction, HoverRace::Control::TurnRightAction, HoverRace::Control::TurnLeftAction, and HoverRace::Control::EngineAction.
void HoverRace::Control::PlayerEffectAction::SetMainCharacter | ( | MainCharacter::MainCharacter * | mc | ) |
|
protected |