/// <summary> /// The main entry point for the application. /// </summary> static void Main(string[] args) { using (Game1 game = new Game1()) { game.Run(); } }
public Buttontje(Game1 game, String stringtosend, Rectangle pos, Color c, SpriteFont font) { this.game = game; this.stringtosend = stringtosend; this.pos = pos; this.c = c; Texture2D pixel = new Texture2D(game.GraphicsDevice, 1, 1); pixel.SetData(new[] { Color.White }); this.texture = pixel; this.font = font; }