liblcf
RPG::Animation Class Reference

#include <rpg_animation.h>

+ Collaboration diagram for RPG::Animation:

Public Types

enum  Scope {
  Scope_target = 0 ,
  Scope_screen = 1
}
 
enum  Position {
  Position_up = 0 ,
  Position_middle = 1 ,
  Position_down = 2
}
 

Public Attributes

int ID = 0
 
std::string name
 
std::string animation_name
 
bool large = false
 
std::vector< AnimationTimingtimings
 
int32_t scope = 0
 
int32_t position = 2
 
std::vector< AnimationFrameframes
 

Static Public Attributes

static constexpr auto kScopeTags
 
static constexpr auto kPositionTags
 

Detailed Description

Definition at line 26 of file rpg_animation.h.

Member Enumeration Documentation

◆ Position

Enumerator
Position_up 
Position_middle 
Position_down 

Definition at line 36 of file rpg_animation.h.

◆ Scope

Enumerator
Scope_target 
Scope_screen 

Definition at line 28 of file rpg_animation.h.

Member Data Documentation

◆ animation_name

static TypedField< RPG::Animation, std::string > static_animation_name & RPG::Animation::animation_name

Definition at line 49 of file rpg_animation.h.

Referenced by RPG::operator==().

◆ frames

static TypedField< RPG::Animation, std::vector< RPG::AnimationFrame > > static_frames & RPG::Animation::frames

Definition at line 54 of file rpg_animation.h.

Referenced by RPG::operator==().

◆ ID

int RPG::Animation::ID = 0

Definition at line 47 of file rpg_animation.h.

◆ kPositionTags

constexpr auto RPG::Animation::kPositionTags
staticconstexpr
Initial value:
= makeEnumTags<Position>(
"up",
"middle",
"down"
)

Definition at line 41 of file rpg_animation.h.

◆ kScopeTags

constexpr auto RPG::Animation::kScopeTags
staticconstexpr
Initial value:
= makeEnumTags<Scope>(
"target",
"screen"
)

Definition at line 32 of file rpg_animation.h.

◆ large

static TypedField< RPG::Animation, bool > static_large & RPG::Animation::large = false

Definition at line 50 of file rpg_animation.h.

Referenced by RPG::operator==().

◆ name

static TypedField< RPG::Animation, std::string > static_name & RPG::Animation::name

Definition at line 48 of file rpg_animation.h.

Referenced by RPG::operator==().

◆ position

static TypedField< RPG::Animation, int32_t > static_position & RPG::Animation::position = 2

Definition at line 53 of file rpg_animation.h.

Referenced by RPG::operator==().

◆ scope

static TypedField< RPG::Animation, int32_t > static_scope & RPG::Animation::scope = 0

Definition at line 52 of file rpg_animation.h.

Referenced by RPG::operator==().

◆ timings

static TypedField< RPG::Animation, std::vector< RPG::AnimationTiming > > static_timings & RPG::Animation::timings

Definition at line 51 of file rpg_animation.h.

Referenced by RPG::operator==().


The documentation for this class was generated from the following files: