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

Returns the ApexECS engine module.

Returns the number of ticks per second (tick rate) the application.

Functions

@spec engine() :: module()

Returns the ApexECS engine module.

This is set in your app configuration:

config :apex_ecs,
  engine: MyApp.ApexEngine
@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