예제 #1
0
        /*
         * public void startup()
         * {
         *  Log("Called startup");
         *  Params param = new Params();
         *  param.loadFromFile();
         *  map = new Map(param);
         *  GraphicalMap.map = map;
         *  GraphicalMap.world = this;
         *
         *  Property_Prototype.loadProperties(map);
         *  EconTrait.loadTraits(map);
         *  staticMap = map;
         *  map.world = this;
         *  map.globalist.buildBasicElements();
         *  map.gen();
         *
         *
         *  //ui.setToWorld();
         *  displayMessages = true;
         *  Log("Got to end of initial startup");
         *  ui.checkData();
         *
         *  //bQuicksave();
         * }
         */

        public void bWorkshop()
        {
            audioStore.playClick();
            prefabStore.popWorkshop();
        }
 public override void playSound(AudioStore audioStore)
 {
     audioStore.playClick();
 }
예제 #3
0
        /*
         * public void startup()
         * {
         *  Log("Called startup");
         *  Params param = new Params();
         *  param.loadFromFile();
         *  map = new Map(param);
         *  GraphicalMap.map = map;
         *  GraphicalMap.world = this;
         *
         *  Property_Prototype.loadProperties(map);
         *  EconTrait.loadTraits(map);
         *  staticMap = map;
         *  map.world = this;
         *  map.globalist.buildBasicElements();
         *  map.gen();
         *
         *
         *  //ui.setToWorld();
         *  displayMessages = true;
         *  Log("Got to end of initial startup");
         *  ui.checkData();
         *
         *  //bQuicksave();
         * }
         */

        public void bStartGameOptions()
        {
            audioStore.playClick();
            ui.addBlocker(ui.world.prefabStore.getScrollSetGods(ui.world.potentialGods).gameObject);
        }