Beispiel #1
0
 public Player(RadGame game, Texture2D texture, Vector2 position)
 {
     _game                   = game;
     _texture                = texture;
     _boundingBox            = new RectangleF();
     _boundingBox.XY         = position;
     _boundingBox.Dimensions = PlayerDimensions;
 }
Beispiel #2
0
 static void Main()
 {
     using (var game = new RadGame())
         game.Run();
 }