Пример #1
0
        /// <Docs>To be added.</Docs>
        /// <remarks>To be added.</remarks>
        /// <summary>
        /// Called with each frame of the game.
        /// Override to define your own, but make sure to call the base!
        /// </summary>
        /// <param name="gameTime">Game time.</param>
        public override void Update(GameTime gameTime)
        {
            KInput.Update();
            foreach (GameComponent g in Items)
            {
                g.Update(gameTime);
            }

            base.Update(gameTime);
        }
Пример #2
0
 public Engine(Game game)
 {
     this.Game = game;
     Sprites = new SpriteManager(Game);
     KInput.Initialize();
 }