コード例 #1
0
ファイル: Engine.cs プロジェクト: adamgryu/HolidayEngine
        /// <summary>
        /// Draws all elements of the game.
        /// First the room, then cube manager.
        /// Lastly, the screens currently open.
        /// </summary>
        /// <param name="gameTime"></param>
        protected override void Draw(GameTime gameTime)
        {
            // Draws static room elements.
            room.Draw(this);

            // Draws dynamic elements.
            cubeManager.Draw(this);

            // Draws the screens.
            screenManager.Draw(this);

            base.Draw(gameTime);
        }