// Instantiate MainLoopable, Logger, and World, also Register Blocks public static void Instantiate() { Instance = new MainLoopable(); Logger.Instantiate(); World.Instantiate(); Block.Instantiate(); BlockRegistry.RegisterBlocks(); }
// 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(); }