filteredSystem("decay", { decayAfterSeconds = T.number }, function(e, dt, system)
    e.decayAfterSeconds = e.decayAfterSeconds - dt
    if e.decayAfterSeconds <= 0 then
        system.world:removeEntity(e)
    end
end)