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