Example #1
0
        public gameForm(Form _MyMainUI)
        {
            this.DoubleBuffered = true;
            InitializeComponent();

            MyMainUI = _MyMainUI;

            myPlateau       = new Plateau(gamePanel);
            MyImagesManager = new ImagesManager(gamePanel);
            MyClient        = new Client(this.gamePanel, this.listBox2, this, MyMainUI);
            MyAnim          = new Animation(this.gamePanel);
        }
Example #2
0
 private void gamePanel_Paint(object sender, PaintEventArgs e)
 {
     Plateau.PaintEventForm1(gamePanel.Width, gamePanel.Height, e);
 }