示例#1
0
 public void setState(PicrossTileState state) {
   if (state != this.state) {
     if (state == PicrossTileState.On || state == PicrossTileState.Cross) {
       Sounds.playSound(SoundType.On);
     }
     if (state == PicrossTileState.Off) {
       Sounds.playSound(SoundType.Off);
     }
   }
   this.state = state;
   PicrossScreen.getCurrentScreen().checkComplete();
 }