mirror of
https://github.com/Keyslam-Group/Concord.git
synced 2025-08-31 09:28:30 -04:00
Fix naming of system:clear, system:setEnable
This commit is contained in:
parent
90b949f8a5
commit
cf51bccb81
3 changed files with 114 additions and 23 deletions
|
@ -119,7 +119,7 @@ end
|
|||
|
||||
--- Internal: Clears all Entities from the System.
|
||||
-- @return self
|
||||
function System:clear()
|
||||
function System:__clear()
|
||||
for i = 1, #self.__pools do
|
||||
self.__pools[i]:__clear()
|
||||
end
|
||||
|
@ -145,7 +145,7 @@ end
|
|||
|
||||
--- Toggles if the System is enabled.
|
||||
-- @return self
|
||||
function System:toggleEnable()
|
||||
function System:toggleEnabled()
|
||||
self:setEnabled(not self.__enabled)
|
||||
|
||||
return self
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue