progress on adding base layer
This commit is contained in:
29
RhythmBullet/Zer01HD/UI/Page/Page.cs
Normal file
29
RhythmBullet/Zer01HD/UI/Page/Page.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
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;
|
||||
|
||||
namespace RhythmBullet.Zer01HD.UI
|
||||
{
|
||||
class Page
|
||||
{
|
||||
private int x, y;
|
||||
public Page()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public void Update(GameTime gameTime)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public void Draw(SpriteBatch batch)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
31
RhythmBullet/Zer01HD/UI/Page/PageManager.cs
Normal file
31
RhythmBullet/Zer01HD/UI/Page/PageManager.cs
Normal file
@@ -0,0 +1,31 @@
|
||||
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;
|
||||
|
||||
namespace RhythmBullet.Zer01HD.UI
|
||||
{
|
||||
class PageManager
|
||||
{
|
||||
private readonly List<Page> pages = new List<Page>();
|
||||
|
||||
public void Act(GameTime gameTime)
|
||||
{
|
||||
foreach (Page page in pages)
|
||||
{
|
||||
page.act(gameTime);
|
||||
}
|
||||
}
|
||||
|
||||
public void Draw(SpriteBatch spriteBatch)
|
||||
{
|
||||
foreach (Page page in pages)
|
||||
{
|
||||
page.draw(spriteBatch);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
33
RhythmBullet/Zer01HD/UI/Screen/Screen.cs
Normal file
33
RhythmBullet/Zer01HD/UI/Screen/Screen.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
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;
|
||||
|
||||
namespace RhythmBullet.Zer01HD.UI.Screen
|
||||
{
|
||||
class Screen
|
||||
{
|
||||
public void Update(GameTime gameTime)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public void Draw(SpriteBatch spriteBatch)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public void Show()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public void Hide()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user