#include <BattleMenu.hpp>
|
| ViewState | updateHook () override |
| | Optional hook to call during the update loop.
|
| void | prevOption () override |
| | Changes the current options to the previous options.
|
Definition at line 24 of file BattleMenu.hpp.
◆ BattleMenu()
| BattleMenu::BattleMenu |
( |
| ) |
|
|
inlineprivate |
◆ battleOptionSelected()
| ViewState BattleMenu::battleOptionSelected |
( |
| ) |
|
|
private |
◆ closeHook()
| void BattleMenu::closeHook |
( |
| ) |
|
|
inlineoverrideprivatevirtual |
◆ consumeCancel()
| bool BattleMenu::consumeCancel |
( |
| ) |
|
|
protected |
◆ consumeSelectedBattleOption()
| int BattleMenu::consumeSelectedBattleOption |
( |
| ) |
|
|
protected |
◆ create()
| void BattleMenu::create |
( |
| ) |
|
|
static |
◆ destroy()
| void BattleMenu::destroy |
( |
| ) |
|
|
static |
◆ getInstance()
◆ isAlertExpired()
| bool BattleMenu::isAlertExpired |
( |
int | durationFrames | ) |
const |
|
protected |
◆ loadActionOptions()
| void BattleMenu::loadActionOptions |
( |
std::array< ActionBase *, 4 > * | actions, |
|
|
std::string | name ) |
|
protected |
◆ loadAlertOptions()
| void BattleMenu::loadAlertOptions |
( |
const std::string & | text | ) |
|
|
protected |
◆ loadAllOutAttackConfirmation()
| void BattleMenu::loadAllOutAttackConfirmation |
( |
| ) |
|
|
protected |
◆ loadPersonaOptions()
| void BattleMenu::loadPersonaOptions |
( |
etl::vector< PersonaBase *, 13 > * | personas | ) |
|
|
protected |
◆ loadSkillOptions()
| void BattleMenu::loadSkillOptions |
( |
PersonaBase * | persona | ) |
|
|
protected |
◆ loadTargetOptions()
| void BattleMenu::loadTargetOptions |
( |
etl::vector< BattleParticipant *, 13 > * | targets, |
|
|
bool | healTarget ) |
|
protected |
◆ prevOption()
| void BattleMenu::prevOption |
( |
| ) |
|
|
overridevirtual |
Changes the current options to the previous options.
- Note
- Override if a menu manually manages its state (doesn't use changeMenu, default prevOption functions)
Reimplemented from UIMenu.
Definition at line 279 of file BattleMenu.cpp.
◆ resetHook()
| void BattleMenu::resetHook |
( |
| ) |
|
|
overrideprivatevirtual |
Used to set the default pauseMessage and options values.
Implements UIMenu.
Definition at line 219 of file BattleMenu.cpp.
◆ resetLoadedOptions()
| void BattleMenu::resetLoadedOptions |
( |
| ) |
|
|
protected |
◆ updateHook()
Optional hook to call during the update loop.
Can override the return from the standard update loop
Reimplemented from UIMenu.
Definition at line 241 of file BattleMenu.cpp.
◆ ~BattleMenu()
| virtual BattleMenu::~BattleMenu |
( |
| ) |
|
|
privatevirtualdefault |
◆ BattleSystem
◆ alertStartFrame
| int32_t BattleMenu::alertStartFrame = 0 |
|
private |
◆ battleOptions
| etl::vector<MenuOption, 10> BattleMenu::battleOptions |
|
private |
◆ instance
◆ isCancelled
| bool BattleMenu::isCancelled = false |
|
private |
◆ loadedOption
◆ messagePrinted
| bool BattleMenu::messagePrinted = false |
|
private |
◆ selectedBattleOption
| int BattleMenu::selectedBattleOption = -1 |
|
private |
The documentation for this class was generated from the following files: