protected void SetupControls(params Direction[] directions) { foreach (var direction in directions) { ArrowBoard.Enable(direction); } }
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; }