Exemplo n.º 1
0
        public SimPhyGameWorld()
            : base()
        {
            Content.RootDirectory = "Content";

            World    = this;
            graphDev = new GraphicsDeviceManager(this);
        }
Exemplo n.º 2
0
 public SimPhyGameWorld()
     : base()
 {
     Content.RootDirectory = "Content";
     camRad           = -1.5f;
     cameraPosition.X = (float)Math.Cos(camRad) * camdist;
     cameraPosition.Z = (float)Math.Sin(camRad) * camdist;
     World            = this;
     graphDev         = new GraphicsDeviceManager(this);
 }
Exemplo n.º 3
0
 static void Main(string[] args)
 {
     using (var game = new SimPhyGameWorld())
         game.Run();
 }