コード例 #1
0
ファイル: DrawResto.cs プロジェクト: thomasvanhavere/MASTopia
        public DrawResto()
        {
            error = new Drawerror();
            resto.Add(new GUIElement("Cross-Screen/Island-bg"));
            resto.Add(new GUIElement("Resto/resto-bg"));

            resto.Add(new GUIElement("Cross-Screen/upgrade-small"));
            resto.Add(new GUIElement("Cross-Screen/X"));

            resto.Add(new GUIElement("Resto/down"));
            resto.Add(new GUIElement("Resto/up"));
            //links
            resto.Add(new GUIElement("Resto/prepare-46points"));               //hotchpotch
            resto.Add(new GUIElement("Resto/preapare-60points-blue"));         //fishpasta
            resto.Add(new GUIElement("Resto/prepare-40pints-blue"));           //herbcake
            resto.Add(new GUIElement("Resto/prepare-10points-blue"));          //bbq

            //rechts
            resto.Add(new GUIElement("Resto/prepare-50points"));              //simmerTrout
            resto.Add(new GUIElement("Resto/prepare-10points-orange"));       //friet
            resto.Add(new GUIElement("Resto/prepare-10points-orange1"));      //calamares
            resto.Add(new GUIElement("Resto/prepare-40points-orange"));       //waffel

            resto.Add(new GUIElement("Resto/bar-speed"));
            resto.Add(new GUIElement("Resto/bar-upgrade"));
        }
コード例 #2
0
        public DrawMarket()
        {
            error = new Drawerror();

            MarketScreen1.Add(new GUIElement("Cross-Screen/Island-bg"));
            MarketScreen1.Add(new GUIElement("Market/storage-bg"));
            MarketScreen1.Add(new GUIElement("Cross-Screen/X"));

            MarketScreen1.Add(new GUIElement("storage/grains_bar"));
            MarketScreen1.Add(new GUIElement("storage/grain-sym"));

            MarketScreen1.Add(new GUIElement("storage/Bar-vegie"));
            MarketScreen1.Add(new GUIElement("storage/vege-sym"));

            MarketScreen1.Add(new GUIElement("storage/Bar-fish"));
            MarketScreen1.Add(new GUIElement("storage/fish-sym"));

            MarketScreen1.Add(new GUIElement("storage/Bar-meat"));
            MarketScreen1.Add(new GUIElement("storage/meat-sym"));


            MarketScreen2.Add(new GUIElement("Cross-Screen/Island-bg"));
            MarketScreen2.Add(new GUIElement("Market/Buy/buy-sell-bg"));
            MarketScreen2.Add(new GUIElement("Cross-Screen/X"));
            MarketScreen2.Add(new GUIElement("Market/Buy/buy-button"));
            MarketScreen2.Add(new GUIElement("Market/Buy/sell-button"));



            Buttons.Add(new GUIElement("Market/Buy/plus-fish"));
            Buttons.Add(new GUIElement("Market/Buy/plus-meat"));
            Buttons.Add(new GUIElement("Market/Buy/plus-veg"));
            Buttons.Add(new GUIElement("Market/Buy/plus-grain"));

            Buttons.Add(new GUIElement("Market/Buy/minus-fish"));
            Buttons.Add(new GUIElement("Market/Buy/minus-meat"));
            Buttons.Add(new GUIElement("Market/Buy/minus-veg"));
            Buttons.Add(new GUIElement("Market/Buy/minus-grain"));


            for (int i = 0; i < 4; i++)
            {
                Buttons.Add(new GUIElement("Market/Buy/dial-button"));
            }

            MarketScreen3.Add(new GUIElement("Cross-Screen/Island-bg"));
            MarketScreen3.Add(new GUIElement("Market/upgrade-screen"));
            MarketScreen3.Add(new GUIElement("Cross-Screen/upgrade"));
            MarketScreen3.Add(new GUIElement("Cross-Screen/X"));

            MarketScreen3.Add(new GUIElement("Market/bar"));
            MarketScreen3.Add(new GUIElement("Market/bar-next"));
        }
コード例 #3
0
        public DrawFarm()
        {
            error = new Drawerror();

            farm.Add(new GUIElement("Cross-Screen/Island-bg"));
            farm.Add(new GUIElement("Farm/farm-bg"));
            farm.Add(new GUIElement("Farm/Place-tiles"));
            farm.Add(new GUIElement("Cross-Screen/upgrade"));
            farm.Add(new GUIElement("Cross-Screen/X"));

            farm.Add(new GUIElement("Farm/bar-speed"));
            farm.Add(new GUIElement("Farm/bar-level"));
        }
コード例 #4
0
        public DrawHarbour()
        {
            error = new Drawerror();

            harbour.Add(new GUIElement("Cross-Screen/Island-bg"));
            harbour.Add(new GUIElement("Boat/boat-screen"));
            harbour.Add(new GUIElement("Boat/go-fishing"));
            harbour.Add(new GUIElement("Cross-Screen/upgrade-small"));
            harbour.Add(new GUIElement("Cross-Screen/X"));

            harbour.Add(new GUIElement("Boat/bar-nextspeed"));
            harbour.Add(new GUIElement("Boat/bar-nextcap"));
            harbour.Add(new GUIElement("Boat/bar-cap"));
            harbour.Add(new GUIElement("Boat/bar-speed"));
        }
コード例 #5
0
        public DrawWastePlant()
        {
            error = new Drawerror();

            waste.Add(new GUIElement("Cross-Screen/Island-bg"));
            waste.Add(new GUIElement("WastePlant/wastePlant-bg"));
            waste.Add(new GUIElement("Cross-Screen/upgrade"));
            waste.Add(new GUIElement("Cross-Screen/X"));

            waste.Add(new GUIElement("WastePlant/bar-bio"));
            waste.Add(new GUIElement("WastePlant/bar-cap"));
            waste.Add(new GUIElement("WastePlant/bar-chem"));
            waste.Add(new GUIElement("WastePlant/bar-nextcap"));
            waste.Add(new GUIElement("WastePlant/bar-nextratio"));
            waste.Add(new GUIElement("WastePlant/bar-nextspeed"));
            waste.Add(new GUIElement("WastePlant/bar-ratio"));
            waste.Add(new GUIElement("WastePlant/bar-speed"));
        }