public Game() { Coroutines = new Coroutines(); DependancyLocator.AddDepenancy(Coroutines); m_ResourceManager = new ResourceManager(); }
internal void Init(IPlatformAudioDevice audioDevice, IPlatformGraphicsDevice graphicsDevice, GameWindow window, GameInput input) { Window = window; Audio = audioDevice; GraphicsDevice = graphicsDevice; Input = input; m_RenderQueue = new RenderQueue(graphicsDevice); DependancyLocator.AddDepenancy(Window); DependancyLocator.AddDepenancy(Audio); DependancyLocator.AddDepenancy(GraphicsDevice); DependancyLocator.AddDepenancy(Input); }