Reorganized and added TODOs for the 31st.
This commit is contained in:
parent
4d50e479a6
commit
48a2671b95
7
RecrownedAthenaeum/Game.cs
Normal file
7
RecrownedAthenaeum/Game.cs
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
namespace RecrownedAthenaeum {
|
||||||
|
public class Game {
|
||||||
|
public Game() {
|
||||||
|
//TODO Implement interface that calls the users created game files.
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -3,7 +3,7 @@ using System;
|
|||||||
using OpenTK;
|
using OpenTK;
|
||||||
using OpenTK.Graphics;
|
using OpenTK.Graphics;
|
||||||
|
|
||||||
namespace RecrownedAthenaeum.Types
|
namespace RecrownedAthenaeum.Graphics
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// An object that represents a ninepatch.
|
/// An object that represents a ninepatch.
|
@ -3,7 +3,7 @@ namespace RecrownedAthenaeum.Graphics.Render {
|
|||||||
public class Batch {
|
public class Batch {
|
||||||
private bool begun;
|
private bool begun;
|
||||||
public Batch() {
|
public Batch() {
|
||||||
|
//TODO Finish batch.
|
||||||
}
|
}
|
||||||
public void Begin() {
|
public void Begin() {
|
||||||
if (begun) throw new InvalidOperationException("This batch has already been started.");
|
if (begun) throw new InvalidOperationException("This batch has already been started.");
|
||||||
|
@ -1,8 +1,9 @@
|
|||||||
using System.Drawing;
|
using System.Drawing;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
namespace RecrownedAthenaeum.Types {
|
namespace RecrownedAthenaeum.Graphics {
|
||||||
public class Texture : IRectangleDrawable {
|
public class Texture : IRectangleDrawable {
|
||||||
|
//TODO Complete a basic texture capable of being rendered by a batch.
|
||||||
byte[] textureData;
|
byte[] textureData;
|
||||||
public byte[] ColorData {
|
public byte[] ColorData {
|
||||||
get {
|
get {
|
@ -5,7 +5,7 @@ using System.Linq;
|
|||||||
using OpenTK;
|
using OpenTK;
|
||||||
using OpenTK.Graphics;
|
using OpenTK.Graphics;
|
||||||
|
|
||||||
namespace RecrownedAthenaeum.Types
|
namespace RecrownedAthenaeum.Graphics
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Holds information about an image file that contains various textures in various regions in the file.
|
/// Holds information about an image file that contains various textures in various regions in the file.
|
Loading…
Reference in New Issue
Block a user