src code

instance method Game#removeComponent

Game#removeComponent(component) → Game
  • component (Component) – The top-level component to remove from the game loop and stop rendering.

Removes a Component that has previously been added to the game loop via Game#addComponent.