mirror of
https://github.com/Keyslam-Group/Concord.git
synced 2025-09-02 12:24:11 -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
695cc2dfe3
commit
50249d5ad3
3 changed files with 12 additions and 37 deletions
|
@ -34,7 +34,6 @@ function World.new()
|
|||
|
||||
__systemLookup = {},
|
||||
|
||||
__name = nil,
|
||||
__isWorld = true,
|
||||
}, World.__mt)
|
||||
|
||||
|
@ -349,18 +348,6 @@ function World:deserialize(data, append)
|
|||
self:__flush()
|
||||
end
|
||||
|
||||
--- Returns true if the World has a name.
|
||||
-- @treturn boolean
|
||||
function World:hasName()
|
||||
return self.__name and true or false
|
||||
end
|
||||
|
||||
--- Returns the name of the World.
|
||||
-- @treturn string
|
||||
function World:getName()
|
||||
return self.__name
|
||||
end
|
||||
|
||||
--- Callback for when an Entity is added to the World.
|
||||
-- @tparam Entity e The Entity that was added
|
||||
function World:onEntityAdded(e) -- luacheck: ignore
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue