struct Entitas::Events::OnComponentReplaced

Defined in:

entitas/events.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(entity : IEntity, index : Int32, prev_component : Union(Entitas::IComponent, Nil), new_component : Union(Entitas::IComponent, Nil)) #

[View source]

Instance Method Detail

def entity : IEntity #

def index : Int32 #

def new_component : Union(Entitas::IComponent, Nil) #

def prev_component : Union(Entitas::IComponent, Nil) #

def to_s(io) #

[View source]