Example #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();
 }
Example #2
0
 // Register block to Block Registry
 private void REGISTER()
 {
     this.ID = currentID;
     currentID++;
     BlockRegistry.RegisterBlock(this);
 }