Parameters
| Name | Description | Default |
|---|---|---|
entity | — | — |
world | — | — |
Function
closeWindow(entity: EntityHandle, world: World): voidRemoves the DOM canvas registered for a window entity and clears its
Windows entry. If the entity has no registered canvas, this
function does nothing.