private void destroy() { GameState.destoryPortal(); SpawnState.portal = null; SpawnState.removeSpawner(this); }
/// <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); }