Reorganized and added TODOs for the 31st.

This commit is contained in:
Harrison Deng 2019-12-28 17:06:04 -06:00
parent 4d50e479a6
commit 48a2671b95
5 changed files with 12 additions and 4 deletions

View File

@ -0,0 +1,7 @@
namespace RecrownedAthenaeum {
public class Game {
public Game() {
//TODO Implement interface that calls the users created game files.
}
}
}

View File

@ -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.

View File

@ -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.");

View File

@ -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 {

View File

@ -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.