public Game() { //instantiate the inventory myInventory = new Inventory(); myInventoryScene = new InventoryScene(this); //instantiate the scenes myTitleScene = new Title(this); myRabbitStreetScene = new RabbitStreet(this); //goal of game gameWon = false; //instantiate play again field playAgain = true; myCreditsScene = new Credits(this); myTortoiseScene = new Tortoise(this); }
public Inventory() { Scene = new InventoryScene(); ScrollIndex = 0; }