Esempio n. 1
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     using (Shorewood shorewood = new Shorewood())
     {
         shorewood.Run();
     }
 }
Esempio n. 2
0
 public NormalGameplay(Game game, PlayerIndex player, Dictionary<char, Letter> alphabet, GridRenderer renderer, ILetterSet letterSet)
     : base(game)
 {
     //this.player = player;
     this.game = (Shorewood)game;
     this.alphabet = alphabet;
     this.gridRenderer = renderer;
     this.letterSet = letterSet;
     this.Enabled = false;
     this.onA = new EventHandler<ButtonFireEventArgs>(OnA);
     this.onLeft = new EventHandler<ButtonFireEventArgs>(OnLeft);
     this.onRight = new EventHandler<ButtonFireEventArgs>(OnRight);
     this.onTrigger = new EventHandler<ButtonFireEventArgs>(OnTrigger);
     AddEvents();
 }