liblcf
rpg_battleranimation.h
Go to the documentation of this file.
1
/* !!!! GENERATED FILE - DO NOT EDIT !!!!
2
* --------------------------------------
3
*
4
* This file is part of liblcf. Copyright (c) 2020 liblcf authors.
5
* https://github.com/EasyRPG/liblcf - https://easyrpg.org
6
*
7
* liblcf is Free/Libre Open Source Software, released under the MIT License.
8
* For the full copyright and license information, please view the COPYING
9
* file that was distributed with this source code.
10
*/
11
12
#ifndef LCF_RPG_BATTLERANIMATION_H
13
#define LCF_RPG_BATTLERANIMATION_H
14
15
// Headers
16
#include <string>
17
#include <vector>
18
#include "
enum_tags.h
"
19
#include "
rpg_battleranimationextension.h
"
20
24
namespace
RPG
{
25
class
BattlerAnimation
{
26
public
:
27
enum
Speed
{
28
Speed_slow
= 0,
29
Speed_normal
= 8,
30
Speed_fast
= 14
31
};
32
33
int
ID
= 0;
34
std::string
name
;
35
int32_t
speed
= 0;
36
std::vector<BattlerAnimationExtension>
base_data
;
37
std::vector<BattlerAnimationExtension>
weapon_data
;
38
};
39
40
inline
bool
operator==
(
const
BattlerAnimation
& l,
const
BattlerAnimation
& r) {
41
return
l.
name
== r.
name
42
&& l.
speed
== r.
speed
43
&& l.
base_data
== r.
base_data
44
&& l.
weapon_data
== r.
weapon_data
;
45
}
46
47
inline
bool
operator!=
(
const
BattlerAnimation
& l,
const
BattlerAnimation
& r) {
48
return
!(l == r);
49
}
50
}
51
52
#endif
rpg_battleranimationextension.h
RPG::operator==
bool operator==(const Actor &l, const Actor &r)
Definition:
rpg_actor.h:64
RPG::BattlerAnimation::base_data
std::vector< BattlerAnimationExtension > base_data
Definition:
rpg_battleranimation.h:36
RPG
Definition:
rpg_actor.h:26
RPG::BattlerAnimation::speed
int32_t speed
Definition:
rpg_battleranimation.h:35
RPG::BattlerAnimation::weapon_data
std::vector< BattlerAnimationExtension > weapon_data
Definition:
rpg_battleranimation.h:37
RPG::BattlerAnimation::Speed_fast
@ Speed_fast
Definition:
rpg_battleranimation.h:30
RPG::BattlerAnimation
Definition:
rpg_battleranimation.h:25
RPG::operator!=
bool operator!=(const Actor &l, const Actor &r)
Definition:
rpg_actor.h:98
RPG::BattlerAnimation::name
std::string name
Definition:
rpg_battleranimation.h:34
RPG::BattlerAnimation::Speed_slow
@ Speed_slow
Definition:
rpg_battleranimation.h:28
RPG::BattlerAnimation::ID
int ID
Definition:
rpg_battleranimation.h:33
RPG::BattlerAnimation::Speed_normal
@ Speed_normal
Definition:
rpg_battleranimation.h:29
RPG::BattlerAnimation::Speed
Speed
Definition:
rpg_battleranimation.h:27
enum_tags.h
src
generated
rpg_battleranimation.h
Generated on Sun Aug 2 2020 00:00:00 for liblcf by
1.8.18