Removed deprecated functionality

Removed hasName/getName on Systems and Worlds.

Removed Entity.__components since it had a duplicate version of the components stored in the Entity itself.
This commit is contained in:
Pablo Ariel Mayobre 2023-02-14 18:14:23 -03:00 committed by Pablo Mayobre
parent ea59529ddc
commit 651472413b
No known key found for this signature in database
GPG key ID: 13A2F589D013E0E7
3 changed files with 12 additions and 37 deletions

View file

@ -85,7 +85,6 @@ function System.new(definition)
local systemClass = setmetatable({
__filters = filters,
__name = nil,
__isSystemClass = true,
}, System.mt)
systemClass.__index = systemClass
@ -161,18 +160,6 @@ function System:getWorld()
return self.__world
end
--- Returns true if the System has a name.
-- @treturn boolean
function System:hasName()
return self.__name and true or false
end
--- Returns the name of the System.
-- @treturn string
function System:getName()
return self.__name
end
--- Callbacks
-- @section Callbacks