liblcf
RPG::ItemAnimation Class Reference

#include <rpg_itemanimation.h>

+ Collaboration diagram for RPG::ItemAnimation:

Public Types

enum  Movement {
  Movement_none = 0 ,
  Movement_step = 1 ,
  Movement_jump = 2 ,
  Movement_move = 3
}
 
enum  AfterImage {
  AfterImage_none = 0 ,
  AfterImage_add = 1
}
 
enum  Speed {
  Speed_fast = 0 ,
  Speed_medium = 1 ,
  Speed_slow = 2
}
 

Public Attributes

int ID = 0
 
int32_t type = 0
 
int32_t weapon_anim = 0
 
int32_t movement = 0
 
int32_t after_image = 0
 
int32_t attacks = 0
 
bool ranged = false
 
int32_t ranged_anim = 0
 
int32_t ranged_speed = 0
 
int32_t battle_anim = 0
 

Static Public Attributes

static constexpr auto kMovementTags
 
static constexpr auto kAfterImageTags
 
static constexpr auto kSpeedTags
 

Detailed Description

Definition at line 23 of file rpg_itemanimation.h.

Member Enumeration Documentation

◆ AfterImage

Enumerator
AfterImage_none 
AfterImage_add 

Definition at line 37 of file rpg_itemanimation.h.

◆ Movement

Enumerator
Movement_none 
Movement_step 
Movement_jump 
Movement_move 

Definition at line 25 of file rpg_itemanimation.h.

◆ Speed

Enumerator
Speed_fast 
Speed_medium 
Speed_slow 

Definition at line 45 of file rpg_itemanimation.h.

Member Data Documentation

◆ after_image

static TypedField< RPG::ItemAnimation, int32_t > static_after_image & RPG::ItemAnimation::after_image = 0

Definition at line 60 of file rpg_itemanimation.h.

Referenced by RPG::operator==().

◆ attacks

static TypedField< RPG::ItemAnimation, int32_t > static_attacks & RPG::ItemAnimation::attacks = 0

Definition at line 61 of file rpg_itemanimation.h.

Referenced by RPG::operator==().

◆ battle_anim

static TypedField< RPG::ItemAnimation, int32_t > static_battle_anim & RPG::ItemAnimation::battle_anim = 0

Definition at line 65 of file rpg_itemanimation.h.

Referenced by RPG::operator==().

◆ ID

int RPG::ItemAnimation::ID = 0

Definition at line 56 of file rpg_itemanimation.h.

◆ kAfterImageTags

constexpr auto RPG::ItemAnimation::kAfterImageTags
staticconstexpr
Initial value:
= makeEnumTags<AfterImage>(
"none",
"add"
)

Definition at line 41 of file rpg_itemanimation.h.

◆ kMovementTags

constexpr auto RPG::ItemAnimation::kMovementTags
staticconstexpr
Initial value:
= makeEnumTags<Movement>(
"none",
"step",
"jump",
"move"
)

Definition at line 31 of file rpg_itemanimation.h.

◆ kSpeedTags

constexpr auto RPG::ItemAnimation::kSpeedTags
staticconstexpr
Initial value:
= makeEnumTags<Speed>(
"fast",
"medium",
"slow"
)

Definition at line 50 of file rpg_itemanimation.h.

◆ movement

static TypedField< RPG::ItemAnimation, int32_t > static_movement & RPG::ItemAnimation::movement = 0

Definition at line 59 of file rpg_itemanimation.h.

Referenced by RPG::operator==().

◆ ranged

static TypedField< RPG::ItemAnimation, bool > static_ranged & RPG::ItemAnimation::ranged = false

Definition at line 62 of file rpg_itemanimation.h.

Referenced by RPG::operator==().

◆ ranged_anim

static TypedField< RPG::ItemAnimation, int32_t > static_ranged_anim & RPG::ItemAnimation::ranged_anim = 0

Definition at line 63 of file rpg_itemanimation.h.

Referenced by RPG::operator==().

◆ ranged_speed

static TypedField< RPG::ItemAnimation, int32_t > static_ranged_speed & RPG::ItemAnimation::ranged_speed = 0

Definition at line 64 of file rpg_itemanimation.h.

Referenced by RPG::operator==().

◆ type

static TypedField< RPG::ItemAnimation, int32_t > static_type & RPG::ItemAnimation::type = 0

Definition at line 57 of file rpg_itemanimation.h.

Referenced by RPG::operator==().

◆ weapon_anim

static TypedField< RPG::ItemAnimation, int32_t > static_weapon_anim & RPG::ItemAnimation::weapon_anim = 0

Definition at line 58 of file rpg_itemanimation.h.

Referenced by RPG::operator==().


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