示例#1
0
    private void destroy()
    {
        GameState.destoryPortal();



        SpawnState.portal = null;
        SpawnState.removeSpawner(this);
    }
示例#2
0
 /// <summary>
 /// Call the gamestate to destory a node when it runs out of health
 /// </summary>
 private void destory()
 {
     GameState.addEssence(essenceDrop);
     GameState.destoryNode();
     SpawnState.removeSpawner(this);
 }