ApexECS (apex_ecs v0.0.1)
Example config:
Required
config :apex_ecs, module_tracker: MyApp.ApexModuleTracker, engine: MyApp.ApexEngine
Optional
config :apex_ecs, start_function: &MyApp.start_function/0, tick_hz: 20
Summary
Functions
Link to this function
engine()
@spec engine() :: module()
Returns the ApexECS engine module.
This is set in your app configuration:
config :apex_ecs,
engine: MyApp.ApexEngine
Link to this function
tick_hz()
@spec tick_hz() :: integer()
Returns the number of ticks per second (tick rate) the application.
This defaults to 30, and can be changed in your app configuration:
config :apex_ecs,
tick_hz: 20