Esempio n. 1
0
        public void ChangeSkin()
        {
            // Switch Mechanic later for switching skins, need icons.

            if (this._currentSkin == this._previousSkin)
            {
                return;
            }

            TileManager.instance.ChangeSkin(this._currentSkin);
            this.mainMenu.BroadcastMessage("SetupSkin");
            this.levelSelect.BroadcastMessage("SetupSkin");
            this.instructions.BroadcastMessage("SetupSkin");
            this.credits.BroadcastMessage("SetupSkin");
            this._previousSkin = this._currentSkin;
        }
Esempio n. 2
0
 void Start()
 {
     this._currentSkin  = TileManager.instance.CurrentSkin;
     this._previousSkin = this._currentSkin;
 }
Esempio n. 3
0
        public void ChangeSkin() {
            // Switch Mechanic later for switching skins, need icons.

            if(this._currentSkin == this._previousSkin)
                return;

            TileManager.instance.ChangeSkin(this._currentSkin);
            this.mainMenu.BroadcastMessage("SetupSkin");
            this.levelSelect.BroadcastMessage("SetupSkin");
            this.instructions.BroadcastMessage("SetupSkin");
            this.credits.BroadcastMessage("SetupSkin");
            this._previousSkin = this._currentSkin;
        }
Esempio n. 4
0
 void Start() {
     this._currentSkin = TileManager.instance.CurrentSkin;
     this._previousSkin = this._currentSkin;
 }
Esempio n. 5
0
 public void ChangeSkin(GlobalInfo.Skin skin) {
     this._hasSkinChanged = true;
     this._currentSkin = skin;
 }
Esempio n. 6
0
 public void ChangeSkin(GlobalInfo.Skin skin)
 {
     this._hasSkinChanged = true;
     this._currentSkin    = skin;
 }