imrpoved UI system structure and added a basic text module for testing; Untested.

This commit is contained in:
2018-09-15 13:15:32 -05:00
parent b0ecc4f457
commit 3779f220ff
13 changed files with 277 additions and 95 deletions

View File

@@ -9,7 +9,7 @@ using System.Threading.Tasks;
namespace RhythmBullet.Zer01HD.Utilities.ContentSystem
{
class ContentSystem
public class ContentSystem
{
volatile bool queued;
Thread thread;
@@ -46,7 +46,7 @@ namespace RhythmBullet.Zer01HD.Utilities.ContentSystem
}
}
T get<T>(string assetName)
public T Get<T>(string assetName)
{
lock(queue)
{
@@ -54,7 +54,7 @@ namespace RhythmBullet.Zer01HD.Utilities.ContentSystem
}
}
void Queue(string assetName, Type type)
public void Queue(string assetName, Type type)
{
queued = true;
lock (queue)