001 002 003/** 004 * This class is the main class of the "Pere Noel" application. 005 * "Pere Noel" is a very simple, text based adventure game. 006 * Users can walk around some scenery. That's all. It should really be extended 007 * to make it more interesting! 008 * 009 * 010 * This main class starts the game. 011 * 012 * @author Célia PRIOL & Benoît CHAUVEAU 013 */ 014 015public class Game 016{ 017 private UserInterface gui; 018 private GameEngine engine; 019 020 /** 021 * Create the game and initialise its internal map. 022 */ 023 public Game() 024 { 025 engine = new GameEngine(); 026 gui = new UserInterface(engine); 027 engine.setGUI(gui); 028 } 029} 030 031 032 033 034 035 036 037 038