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 2021-01-08 21:23:46 -03:00
parent 8f57cadce9
commit b6e4cd6fe9
No known key found for this signature in database
GPG key ID: 5ACD9E6858BEB0A9
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