예제 #1
0
 public LevelManager(string path)
     : base()
 {
     StreamReader reader = new StreamReader(path);
     world = Serializer.DeserializeWorld(reader.ReadToEnd());
     groupNum = 0;
     Spawn();
 }
예제 #2
0
 public static string SerializeWorld(World world)
 {
     return JsonConvert.SerializeObject(world);
 }