DistributedEcs v0.1.3 DistributedEcs.Component View Source
Link to this section Summary
Functions
New component
Link to this section Types
Link to this type
t()
View Source
t() :: %DistributedEcs.Component{ id: id(), state: state(), type: component_type() }
Link to this section Functions
Link to this function
new(component_type, initial_state)
View Source
new(component_type(), state()) :: t()
New component