mirror of
https://github.com/Keyslam-Group/Concord.git
synced 2025-09-02 04:13:58 -04:00
Add Entity:hasWorld
This commit is contained in:
parent
ce32d16b8d
commit
f6468fbe6b
1 changed files with 4 additions and 0 deletions
|
@ -137,6 +137,10 @@ function Entity:getComponents()
|
|||
return self.__components
|
||||
end
|
||||
|
||||
function Entity:hasWorld()
|
||||
return self.__world and true or false
|
||||
end
|
||||
|
||||
function Entity:getWorld()
|
||||
return self.__world
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue