Engine.getNonResourceEntities()

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

Overview

This function returns a table containing all of the DisplayObjects for all of the non-resource entities. The DisplayObjects are indexed by their corresponding entity IDs.

Syntax

Engine.getNonResourceEntities()

Examples

local sprites = engineInstance.getNonResourceEntities()
local entitySprite = sprites[42]