Example #1
0
        protected override void Initialize()
        {
            base.Initialize();

            services.Bind(GraphicsDevice);
            services.Bind(Content);

            BindServices(services);
            BindSystems(systems);

            foreach (var system in systems.All <IGameEngineSystem>())
            {
                system.Initialize(this);
            }
        }