/** * Entity API Object (for storing / loading entities to and from API) * @constructor * @param entities GameLib.API.Entity[] */ GameLib.API.EntityManager = function( entities ) { if (GameLib.Utils.UndefinedOrNull(entities)) { entities = []; } this.entities = entities; };