Ejemplo n.º 1
0
 public static void Main(string[] args)
 {
     using (var game = new FlyGame())
     {
         game.Run();
     }
 }
Ejemplo n.º 2
0
        public GameGraphics(FlyGame game)
        {
            this.game     = game;
            this.graphics = new Xna.GraphicsDeviceManager(game);
            this.graphics.IsFullScreen             = false;
            this.graphics.PreparingDeviceSettings += this.OnPreparingDeviceSettings;
            this.graphics.GraphicsProfile          = GraphicsProfile.HiDef;

            this.fontLoader = new FontLoader(this.game.Services)
            {
                RootDirectory = "Content/Fonts/"
            };
        }
Ejemplo n.º 3
0
 public EditorState(FlyGame game)
 {
     this.rand     = game.Rand;
     this.graphics = game.Graphics;
     this.game     = game;
 }