Engine.getEntityInfo()
Type | function |
Library | wattageTileEngine.EntityLayer.* |
Return value | SpriteInfo |
Keywords | |
See also |
Overview
This function returns the SpriteInfo instance for the given entity ID.
Syntax
Engine.getEntityInfo( id )
id (required)
Number. The ID of the entity to retrieve the info for.
Examples
local spriteInfo = engineInstance.getEntityInfo(42)