imrpoved UI system structure and added a basic text module for testing; Untested.
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user