Esempio n. 1
0
 public override void Load()
 {
     MainTitle = new Title("Deep Space Dive", 70, 70);
     NewGameButton = new Button("New Game", 30, Constants.Height - 300, 400, 70, false);
     OptionsButton = new Button("Options", 30, Constants.Height - 200, 400, 70, false);
     QuitButton = new Button("Quit", 30, Constants.Height - 100, 400, 70, false);
 }
Esempio n. 2
0
        public override void Load()
        {
            // Add interface elements
            upgradesButton = new Button("Upgrades [TAB]", 30, Constants.Height - 90, 200, 40, true);

            // Add ships
            playerShip = new Ship();
        }