mirror of
https://github.com/Keyslam-Group/Concord.git
synced 2025-09-05 13:53:54 -04:00
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:
parent
8f57cadce9
commit
b6e4cd6fe9
3 changed files with 12 additions and 37 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue