Beispiel #1
0
 public World()
 {
     entities = new List <Entity>(0);
     if (Current == null)
     {
         Current = this;
     }
     Debugging.DebugConsole.RegisterCommand("save", (string[] commands) =>
     {
         GameSerializer.SerializeEntities(entities);
     });
 }
Beispiel #2
0
 public static void InitializeEntities()
 {
     GameSerializer.DeserializeEntities(out knownEntities);
 }