Skip to content

Latest commit

 

History

History
124 lines (81 loc) · 4.34 KB

namespaceecs_1_1component.md

File metadata and controls

124 lines (81 loc) · 4.34 KB
title
ecs::component

ecs::component

Classes

Name
struct ecs::component::Activable
struct ecs::component::Animated
struct ecs::component::AttackAI
AttackAI component.
struct ecs::component::Controllable
struct ecs::component::Direction
struct ecs::component::Drawable
struct ecs::component::EntityType
EntityType component.
struct ecs::component::Faction
struct ecs::component::FollowEntity
struct ecs::component::Health
struct ecs::component::Hitbox
struct ecs::component::MovementAI
MovementAI component.
struct ecs::component::NetworkId
NetworkId component related to the entity sent to the client.
struct ecs::component::Parallax
struct ecs::component::Position
struct ecs::component::Projectile
struct ecs::component::Score
struct ecs::component::Shootable
struct ecs::component::Size
Size component.
struct ecs::component::Text
struct ecs::component::textColor
struct ecs::component::Velocity
Velocity component.
struct ecs::component::Weapon

Attributes

Name
const std::pair< char, char > STOP
const std::pair< char, char > UP
const std::pair< char, char > UP_LEFT
const std::pair< char, char > LEFT
const std::pair< char, char > DOWN_LEFT
const std::pair< char, char > DOWN
const std::pair< char, char > DOWN_RIGHT
const std::pair< char, char > RIGHT
const std::pair< char, char > UP_RIGHT

Attributes Documentation

variable STOP

static const std::pair< char, char > STOP = {0, 0};

variable UP

static const std::pair< char, char > UP = {0, -1};

variable UP_LEFT

static const std::pair< char, char > UP_LEFT = {-1, -1};

variable LEFT

static const std::pair< char, char > LEFT = {-1, 0};

variable DOWN_LEFT

static const std::pair< char, char > DOWN_LEFT = {-1, 1};

variable DOWN

static const std::pair< char, char > DOWN = {0, 1};

variable DOWN_RIGHT

static const std::pair< char, char > DOWN_RIGHT = {1, 1};

variable RIGHT

static const std::pair< char, char > RIGHT = {1, 0};

variable UP_RIGHT

static const std::pair< char, char > UP_RIGHT = {1, -1};

Updated on 2022-11-13 at 17:21:37 +0100