Systems
Example
class PlayerSystem < Scar::System
include Scar
def update(app : App, space: Space, dt)
space.each_with Components::PlayerComponent do |ent, player|
ent.position.x += player.health * dt
end
end
endLast updated