Exemple #1
0
        };  //Matrice du labyrinthe

        public frmMain()
        {
            InitializeComponent();
            DoubleBuffered = true;

            thEcoute  = new Thread(new ThreadStart(Ecouter));
            udpClient = new UdpClient(GameConstant.PORT_HOTE);
            positionDepartpersonnage = new Point();
            personnageRaichu         = new Personnage(new PointF(0, 0), (int)Direction.Haut);
            arriveeDemandee          = new Arrivee();
            lstLabyrinthe            = new List <Bloc>();
            lstInstruction           = new List <string>();
            enJeu = false;
            compteurInstructionsEffectuees = 0;
            numero      = 0;
            recommencer = false;
        }