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

            SendNewPos();
        }
Exemplo n.º 2
0
 public RectangleSprite(Rectangle rect, int width, Game1 game)
 {
     this.game = game;
     this.rect = rect;
     this.width = width;
 }
Exemplo n.º 3
0
 public ControlClientje(DeveConnection deveConnection, Game1 game)
     : base(deveConnection)
 {
     this.game = game;
 }
Exemplo n.º 4
0
 static void Main()
 {
     game = new Game1();
     game.Run();
 }