struct Skills

Defined in:

wif/game/systems.cr

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from struct GameComponent

after_initialize after_initialize

Constructor methods inherited from struct GameComponent

new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) new

Class methods inherited from struct GameComponent

component_index component_index

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

def self.new(skills : Hash(ECS::Entity, Int32), known : Set(ECS::Entity) = Set(ECS::Entity).new) #

[View source]

Class Method Detail

def self.component_index #

Instance Method Detail

def clone #

[View source]
def copy_with(skills _skills = @skills, known _known = @known) #

[View source]
def known : Set(ECS::Entity) #

def skills : Hash(ECS::Entity, Int32) #