protected override sealed void Initialize() { base.Initialize(); camera = new Camera(Vector2.One, Vector3.Zero); builder.RegisterInstance(camera).AsSelf().SingleInstance(); RegisterEngineParts(builder); container = builder.Build(); LoadCustomContent(container); components = container.Resolve<IEnumerable<IEngineComponent>>(); Init(container); }
/// <summary> /// When enabled, draws a realtime visualization of input. /// </summary> public void Draw(SpriteBatch spriteBatch, Camera camera) { //@do: add debug drawings }