Exemplo n.º 1
0
 protected void SetupControls(params Direction[] directions)
 {
     foreach (var direction in directions)
     {
         ArrowBoard.Enable(direction);
     }
 }
Exemplo n.º 2
0
 public GameScene(string goalText, float tipWidth, float tipHeight)
 {
     ArrowBoard = new ArrowBoard();
     ArrowBoard.Container.Position = new Point(675, 10);
     goal             = new SlidingMessage(goalText, tipWidth, tipHeight);
     goal.DroppedOut += () => IsGoalOnScreen = false;
     IsGoalOnScreen   = true;
 }