Exemple #1
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     using (Limak game = new Limak())
     {
         game.Run();
     }
 }
Exemple #2
0
        public GameState(Limak limak)
        {
            currentGameState = State.MainMenu;
            currentButtonChosen = 0;
            currentCharacter1Chosen = State.LimakState;
            currentCharacter2Chosen = State.SralState;
            this.limak = limak;
            player1MenuDone = false;
            player2MenuDone = false;
            player1CharacterDone = false;
            player2CharacterDone = false;

            timer = new System.Timers.Timer();

            timer.Elapsed += new ElapsedEventHandler(OnTimeEvent);
            timer.Interval = 250;
            timer.Enabled = true;
        }