|
persona-3-dual
A DS demake of Persona 3
|
Participant of battle. More...
#include <BattleParticipant.hpp>


Public Member Functions | |
| virtual BattleStats * | getBattleStats ()=0 |
| virtual ae::q20_12_t | calculateBaseDamage (BattleParticipant &defender, Skill &skill)=0 |
| virtual ae::q20_12_t | getTeamMultiplier ()=0 |
| virtual void | setCurrentTurnOrderAgility (ae::q20_12_t boost)=0 |
| virtual BattlePhase | getInitalTurnPhase ()=0 |
| virtual void | onDead (Event::BattleResult &battleResult)=0 |
| virtual | ~BattleParticipant ()=default |
Public Attributes | |
| std::string | name |
| s32 | maxHp |
| s32 | hp |
| s32 | maxSp |
| s32 | sp |
| u32 | lv |
| Skill * | baseAttackAction |
| ParticipantType | participantType |
| Armour | armour |
| Shoe | shoe |
| ae::q20_12_t | currentTurnOrderAgility |
| bool | oneMore = false |
| bool | knockedDown = false |
Participant of battle.
can be an enemy, partyMember or player.
Parent of PartyMember.cpp (which is the Player's parent) and Enemy.cpp since a lot of things are shared between them, and even for some things where you might not expect it like enemies have values for Armour with an actuall usecase. Otherwise the goal is to really on virtual functions to generalize the code as much as possible to make it scalable.
Definition at line 29 of file BattleParticipant.hpp.
|
virtualdefault |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Implemented in Enemy, and PartyMember.
|
pure virtual |
|
pure virtual |
|
pure virtual |
Implemented in Enemy, and PartyMember.
| Armour BattleParticipant::armour |
Definition at line 42 of file BattleParticipant.hpp.
| Skill* BattleParticipant::baseAttackAction |
Definition at line 38 of file BattleParticipant.hpp.
| ae::q20_12_t BattleParticipant::currentTurnOrderAgility |
Definition at line 45 of file BattleParticipant.hpp.
| s32 BattleParticipant::hp |
Definition at line 33 of file BattleParticipant.hpp.
| bool BattleParticipant::knockedDown = false |
Definition at line 47 of file BattleParticipant.hpp.
| u32 BattleParticipant::lv |
Definition at line 36 of file BattleParticipant.hpp.
| s32 BattleParticipant::maxHp |
Definition at line 32 of file BattleParticipant.hpp.
| s32 BattleParticipant::maxSp |
Definition at line 34 of file BattleParticipant.hpp.
| std::string BattleParticipant::name |
Definition at line 31 of file BattleParticipant.hpp.
| bool BattleParticipant::oneMore = false |
Definition at line 46 of file BattleParticipant.hpp.
| ParticipantType BattleParticipant::participantType |
Definition at line 39 of file BattleParticipant.hpp.
| Shoe BattleParticipant::shoe |
Definition at line 43 of file BattleParticipant.hpp.
| s32 BattleParticipant::sp |
Definition at line 35 of file BattleParticipant.hpp.