Engine.getEntityInfos()
Type | function |
Library | wattageTileEngine.EntityLayer.* |
Return value | Table |
Keywords | |
See also |
Overview
This function returns a table containing all of the SpriteInfo instances for all of the resource entities. The SpriteInfo instances are indexed by their corresponding entity IDs.
Syntax
Engine.getEntityInfos()
Examples
local spriteInfos = engineInstance.getEntityInfos()
local entitySpriteInfo = spriteInfos[42]