-update README code example (to one that compile)
-remove Entity.instance and gEM, global manager is now gEntityManager
This commit is contained in:
parent
d1c48e4c5f
commit
3b954b732b
11 changed files with 617 additions and 604 deletions
|
|
@ -188,7 +188,7 @@ struct ShootGridCleaner
|
|||
|
||||
bool onBegin()
|
||||
{
|
||||
grid = gEM.getSystem!ShootGridManager().grid;
|
||||
grid = gEntityManager.getSystem!ShootGridManager().grid;
|
||||
if(grid != null)return true;
|
||||
else return false;
|
||||
}
|
||||
|
|
@ -964,7 +964,7 @@ struct BVHBuilder2
|
|||
|
||||
void onCreate()
|
||||
{
|
||||
tree = gEM.getSystem!BVHBuilder().tree;
|
||||
tree = gEntityManager.getSystem!BVHBuilder().tree;
|
||||
}
|
||||
|
||||
bool onBegin()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue