public PhysicsManager(SceneManager sceneManager)
 {
     _sceneManager = sceneManager;
     _wind = new Vector2(0, 0);
     _random = new Random();
     StartWind(10000);
 }
Exemplo n.º 2
0
 public Engine()
 {
     _sceneManager = new SceneManager();
     _inputManager = new InputManager(_sceneManager);
     _physicsManager = new PhysicsManager(_sceneManager);
     _renderManager = new RenderManager(_sceneManager);
 }
Exemplo n.º 3
0
 public Score(GraphicsDevice device, SpriteFont font, SceneManager sceneManager)
     : base(device)
 {
     _font = font;
     IsRenderable = true;
     _sceneManager = sceneManager;
     _points = 0;
 }
 public InputManager(SceneManager sceneManager)
 {
     _sceneManager = sceneManager;
 }
 public RenderManager(SceneManager sceneManager)
 {
     _sceneManager = sceneManager;
 }