vooga.engine.factory
Interface LevelFactory

All Known Implementing Classes:
CyberionLevelParser, GalaxyLevelFactory, LevelParser, LevelParserExample, MarioLevelFactory, ModularLevelParser

public interface LevelFactory

This interface is used to retrieve the playfield for the current level. Additional methods could be added to specifically get Sprite Velocities etc.


Method Summary
 PlayField getPlayfield(java.lang.String filepath, Game currentgame)
           
 

Method Detail

getPlayfield

PlayField getPlayfield(java.lang.String filepath,
                       Game currentgame)
Parameters:
levelFactoryFile - - file containing details of the game objects for the current level
Returns:
Playfield for the current level