// Use this for initialization
    void Start()
    {
        ai = AddItem.instance;
        rc = RoomsControls.instance;
        ic = ItemsControls.instance;

        // Store pages in dictionary
        Pages = new Dictionary <string, GameObject>();
        Pages.Add("Summary", GameObject.FindWithTag("Summary"));
        Pages.Add("Rooms", GameObject.FindWithTag("Rooms"));
        Pages.Add("AddRoom", GameObject.FindWithTag("AddRoom"));
        Pages.Add("Items", GameObject.FindWithTag("Items"));
        Pages.Add("AddItem", GameObject.FindWithTag("AddItem"));
        Pages.Add("Receipts", GameObject.FindWithTag("Receipts"));
        Pages.Add("Settings", GameObject.FindWithTag("Settings"));

        InterfaceColour = new Color(0.27f, 0.72f, 1.0f);
        CurrentPage     = Page.Summary;

        ChangePage(CurrentPage);

        // Make some dummy data for the start
        Rooms = new Dictionary <string, Room>();
        Room temp = new Room("Living room", "", RoomType.LivingSpace);

        temp.AddItem(new Item("Table", 75.0f, "Living room", ItemCategory.Furniture, ""));
        Rooms.Add(temp.ObjName, temp);

        temp = new Room("Kitchen", "", RoomType.Kitchen);
        temp.AddItem(new Item("Spaghetti", 13.5f, "Kitchen", ItemCategory.Spaghetti, ""));
        Rooms.Add(temp.ObjName, temp);
    }
 void Awake()
 {
     if (instance != null)
     {
         throw new System.Exception();
     }
     instance = this;
 }
 void Start()
 {
     gc = GameController.instance;
     ic = ItemsControls.instance;
 }