コード例 #1
0
 public SaveData(string name)
 {
     this.name              = name;
     version                = Program.version;
     universe_data          = new universe.UniverseData();
     renderer_worldPos      = new vector2();
     e_playerController_pos = new vector2();
     updater_gameObjects    = new Dictionary <vector2, updateableObject>();
 }
コード例 #2
0
 public void load()
 {
     data = game.save.universe_data;
 }
コード例 #3
0
 public Universe()
 {
     data        = new UniverseData(10_000, 1_000, 250);
     solarSystem = new SolarSystem(this);
 }