mirror of
https://github.com/Keyslam-Group/Concord.git
synced 2025-09-02 20:33:54 -04:00
Removed the need for manual flushing. Systems now know about their instance
This commit is contained in:
parent
358a455c8b
commit
acd77fafa5
3 changed files with 23 additions and 19 deletions
|
@ -129,6 +129,12 @@ function System:__tryRemove(e)
|
|||
end
|
||||
end
|
||||
|
||||
--- Returns the Instance the System is in.
|
||||
-- @return The Instance
|
||||
function System:getInstance()
|
||||
return self.__instance
|
||||
end
|
||||
|
||||
--- Returns if the System has the Entity.
|
||||
-- @param The Entity to check for
|
||||
-- @return True if the System has the Entity. False otherwise
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue