예제 #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);
        }
예제 #2
0
 private void gamePanel_Paint(object sender, PaintEventArgs e)
 {
     Plateau.PaintEventForm1(gamePanel.Width, gamePanel.Height, e);
 }