persona-3-dual
A DS demake of Persona 3
Loading...
Searching...
No Matches
Guard.hpp
Go to the documentation of this file.
1
#pragma once
2
#include "
../party/PartyMember.hpp
"
3
#include "
ActionBase.hpp
"
4
5
struct
Guard
:
ActionBase
6
{
7
Guard
()
8
{
9
name
=
"Guard"
;
10
possibleUsers
=
ParticipantType::Party
;
11
}
12
13
TurnResult
resolve
(
PartyMember
* user,
BattleParticipant
* target,
Skill
* skill =
nullptr
)
override
;
14
};
ActionBase.hpp
ParticipantType::Party
@ Party
Definition
ParticipantType.hpp:6
PartyMember.hpp
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
Guard::Guard
Guard()
Definition
Guard.hpp:7
Guard::resolve
TurnResult resolve(PartyMember *user, BattleParticipant *target, Skill *skill=nullptr) override
Definition
Guard.cpp:4
PartyMember
Definition
PartyMember.hpp:14
Skill
Definition
Skill.hpp:10
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
Guard.hpp
Generated by
1.15.0