Skip to content

Retrieve different game sprites

Raluca D. Gaina edited this page Feb 12, 2018 · 1 revision

The GameDescription class provided to the generator give access to retrieve all game sprites and categorize them by type. The following table shows all the supplied functions and description to each one:

GameDescription class Description
ArrayList<SpriteData> getAvatar() Get a list of all avatar sprites listed in the current game
ArrayList<SpriteData> getNPC() Get a list of all npc sprites listed in the current game
ArrayList<SpriteData> getResource() Get a list of all resource sprites listed in the current game
ArrayList<SpriteData> getPortal() Get a list of all portals sprites listed in the current game
ArrayList<SpriteData> getMoving() Get a list of all moving sprites listed in the current game
ArrayList<SpriteData> getAllSpriteData() Get a list of all defined sprites in the current game

Table of Contents:

Clone this wiki locally