|
persona-3-dual
A DS demake of Persona 3
|
Event payload to start the BattleSystem. More...
#include <BattleEvents.hpp>


Public Member Functions | |
| ExecuteBattle (CharacterProfile &iPlayer, etl::vector< CharacterProfile, 4 > &iCharacterProfiles, etl::vector< EnemyProfile, 8 > &iEnemyProfiles, BattleStartCondition iBattleStartCondition) | |
| Constructs the ExecuteBattle event. | |
Public Attributes | |
| CharacterProfile & | player |
| The main player character. We need to specifically know them for some things all the time. | |
| etl::vector< CharacterProfile, 4 > & | characterProfiles |
| All party members currently on the field. | |
| etl::vector< EnemyProfile, 8 > & | enemyProfiles |
| All enemies currently on the field. | |
| BattleStartCondition | battleStartCondition |
| Condition like player advantage, enemy advantage, or even. Used to decide turn order. | |
Event payload to start the BattleSystem.
Called before every new battle. Takes in profiles of BattleParticipants so the battle can create and manage participants itself.
Proceeding this event, the system sets music, initializes variables, and performs various cleanup. Finally, turn order is calculated with the battleStartCondition and the battle gets started.
Definition at line 31 of file BattleEvents.hpp.
|
inline |
Constructs the ExecuteBattle event.
| iPlayer | The main player profile. |
| iCharacterProfiles | List of all player profiles in the party. |
| iEnemyProfiles | List of all enemy profiles in the encounter. |
| iBattleStartCondition | The advantage state for the encounter. |
Definition at line 53 of file BattleEvents.hpp.
| BattleStartCondition Event::ExecuteBattle::battleStartCondition |
Condition like player advantage, enemy advantage, or even. Used to decide turn order.
Definition at line 43 of file BattleEvents.hpp.
| etl::vector<CharacterProfile, 4>& Event::ExecuteBattle::characterProfiles |
All party members currently on the field.
Definition at line 37 of file BattleEvents.hpp.
| etl::vector<EnemyProfile, 8>& Event::ExecuteBattle::enemyProfiles |
All enemies currently on the field.
Definition at line 40 of file BattleEvents.hpp.
| CharacterProfile& Event::ExecuteBattle::player |
The main player character. We need to specifically know them for some things all the time.
Definition at line 34 of file BattleEvents.hpp.