generated from sage/tiny-ecs-love-template
34 lines
719 B
Lua
34 lines
719 B
Lua
local components = {}
|
|
|
|
---@param entity Entity
|
|
function components.allowedInEngine(entity)
|
|
entity.allowedInEngine = T.marker
|
|
end
|
|
|
|
---@param entity Entity
|
|
function components.allowedInWheels(entity)
|
|
entity.allowedInWheels = T.marker
|
|
end
|
|
|
|
---@param entity Entity
|
|
function components.allowedInPropulsion(entity)
|
|
entity.allowedInPropulsion = T.marker
|
|
end
|
|
|
|
---@param entity Entity
|
|
function components.allowedInSeating(entity)
|
|
entity.allowedInSeating = T.marker
|
|
end
|
|
|
|
---@param entity Entity
|
|
function components.allowedInStyling(entity)
|
|
entity.allowedInStyling = T.marker
|
|
end
|
|
|
|
---@param entity Entity
|
|
function components.allowedInBrakes(entity)
|
|
entity.allowedInBrakes = T.marker
|
|
end
|
|
|
|
return components
|