persona-3-dual
A DS demake of Persona 3
Loading...
Searching...
No Matches
SwitchPersona.hpp
Go to the documentation of this file.
1
#pragma once
2
#include "
ActionBase.hpp
"
3
4
struct
SwitchPersona
:
ActionBase
5
{
6
SwitchPersona
()
7
{
8
name
=
"SwitchPersona"
;
9
possibleUsers
=
ParticipantType::Player
;
10
}
11
12
TurnResult
resolve
(
PartyMember
* user,
BattleParticipant
* target,
Skill
* skill =
nullptr
)
override
;
13
};
ActionBase.hpp
ParticipantType::Player
@ Player
Definition
ParticipantType.hpp:5
ActionBase
Definition
ActionBase.hpp:13
ActionBase::name
std::string name
Definition
ActionBase.hpp:14
ActionBase::possibleUsers
ParticipantType possibleUsers
Definition
ActionBase.hpp:15
BattleParticipant
Participant of battle.
Definition
BattleParticipant.hpp:30
PartyMember
Definition
PartyMember.hpp:14
Skill
Definition
Skill.hpp:10
SwitchPersona::resolve
TurnResult resolve(PartyMember *user, BattleParticipant *target, Skill *skill=nullptr) override
Definition
SwitchPersona.cpp:4
SwitchPersona::SwitchPersona
SwitchPersona()
Definition
SwitchPersona.hpp:6
TurnResult
Result of a singular turn. Note that currently multi target skills do use a seperate turn result for ...
Definition
TurnResult.hpp:14
source
battleActions
actions
SwitchPersona.hpp
Generated by
1.15.0