public ScreenClientje(Rectangle rect, Game1 game, DeveConnection deveConnection)
            : base(deveConnection)
        {
            this.rect = rect;
            this.game = game;
            rectSprite = new RectangleSprite(rect, 5, game);

            SendNewPos();
        }
 public RectangleSprite(Rectangle rect, int width, Game1 game)
 {
     this.game = game;
     this.rect = rect;
     this.width = width;
 }
 public ControlClientje(DeveConnection deveConnection, Game1 game)
     : base(deveConnection)
 {
     this.game = game;
 }
示例#4
0
 static void Main()
 {
     game = new Game1();
     game.Run();
 }