コード例 #1
0
 public void Answer(Cube cube)
 {
     if (!this.lost && cube.Equals(this.coloredCubeWrapper.cube))
     {
     this.lastFrame = this.currentFrame;
     this.Repaint();
     this.framesBetweenUpdates--;
     if (this.framesBetweenUpdates < 5) this.framesBetweenUpdates = 3;
     }
     else
     {
     this.YouLose("Wrong cube");
     }
 }