Exemplo n.º 1
0
        public static MonsterSaveDetails GetSaveData()
        {
            var data = new MonsterSaveDetails();

            data.CurrentMaxId    = currentMaxId;
            data.FreeActorIds    = freeMonsterIds;
            data.CurrentMonsters = monsters;

            return(data);
        }
Exemplo n.º 2
0
 public static void LoadSaveData(MonsterSaveDetails data)
 {
     currentMaxId   = data.CurrentMaxId;
     freeMonsterIds = data.FreeActorIds;
     monsters       = data.CurrentMonsters;
 }