protected override void Initialize() { base.Initialize(); _renderer = new Renderer(GraphicsDevice); Task.Factory.StartNew(() => { var gl = new UpdateLoop(_renderer); gl.Loop(); }); }
public World(Renderer renderer) { _renderer = renderer; Initialise(); }
public UpdateLoop(Renderer renderer) { _renderer = renderer; _world = new World(renderer); _stopwatch = new Stopwatch(); }
protected override void Initialize() { base.Initialize(); _renderer = new Renderer(GraphicsDevice); _world = new World(_renderer); }
public UpdateLoop(Renderer renderer) { _world = new World(renderer); _stopwatch = new Stopwatch(); }