Maps

Maps
Each map in the game is made up of two main component parts: the ground textures (which are on the GroundLayer) and the objects with which the PC can interact (which are on the ObjectLayer).

What is the Object Loader
The Object Loader is responsible for parsing a .xml file with information about objects with which the PC can interact. As of now, we have NPCs, objects such a crates that could be opened and contain other objects, and 'Doors' which are transitions to other maps. A crate might contain objects like Knife. All of these objects must be associated with fife.Instance objects while they are on the active map during gameplay.