Exemplo n.º 1
0
 // Instantiate MainLoopable, Logger, and World, also Register Blocks
 public static void Instantiate()
 {
     Instance = new MainLoopable();
     Logger.Instantiate();
     World.Instantiate();
     Block.Instantiate();
     BlockRegistry.RegisterBlocks();
 }
Exemplo n.º 2
0
 // Start is called before the first frame update
 // GameManager Start: Register Files, Create Texture Atlas
 private void Start()
 {
     this.GetTime();
     Instance = this;
     FileManager.RegisterFiles();
     TextureAtlas.Instance.CreateAtlas();
     MainLoopable.Instantiate();
     this.main = MainLoopable.Instance;
     this.main.Start();
 }