32 lines
682 B
C#
Raw Normal View History

2018-09-11 00:05:34 -05:00
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
2018-09-12 01:32:05 -05:00
namespace RhythmBullet.Zer01HD.UI.Page
2018-09-11 00:05:34 -05:00
{
class PageManager
{
private readonly List<Page> pages = new List<Page>();
public void Act(GameTime gameTime)
{
foreach (Page page in pages)
{
page.Update(gameTime);
2018-09-11 00:05:34 -05:00
}
}
public void Draw(SpriteBatch spriteBatch)
{
foreach (Page page in pages)
{
page.Draw(spriteBatch);
2018-09-11 00:05:34 -05:00
}
}
}
}