Engine.removeEntity()

   
Type function
Library wattageTileEngine.EntityLayer.*
Return value VOID
Keywords  
See also  

Overview

This function removes the entity associated with specified ID.

Syntax

Engine.removeEntity( id )
id (required)

Number. The ID of the entity to remove.

Examples

engineInstance.removeEntity(42)