Example #1
0
 public void Destroy(IGameWorld gameWorld)
 {
     _inputComponent?.Destroy(this, gameWorld);
     _physicComponent?.Destroy(this, gameWorld);
     _logicComponent?.Destroy(this, gameWorld);
     _graphicComponent?.Destroy(this, gameWorld);
 }