private void LoadHeroInvenData() { List <CreatureData> tmpData; DataStruct.LoadData <CreatureData>(out tmpData, "Player_HeroData"); CreateHerotoInven(ref tmpData); SetupInvenImage(ref tmpData); }
public void LoadLevelData(string name) { List <StageMonsterData> monsterData = new List <StageMonsterData>(); DataStruct.LoadData <StageMonsterData>(out monsterData, name + "_Level"); GenerateEnemyCreature(monsterData); ReadyNextWave(); }
private void LoadData(string path, DataType type) { switch (type) { case DataType.Hero: { Dictionary <string, CreatureData> tmpDic = new Dictionary <string, CreatureData>(); DataStruct.LoadData <string, CreatureData>(out tmpDic, path); MonsterDataDic = new Dictionary <string, CreatureData>(tmpDic); break; } case DataType.Monster: { Dictionary <string, CreatureData> tmpDic = new Dictionary <string, CreatureData>(); DataStruct.LoadData <string, CreatureData>(out tmpDic, path); MonsterDataDic = new Dictionary <string, CreatureData>(tmpDic); break; } } }
public void LoadSkillData() { DataStruct.LoadData <string, SkillBaseData>(out SkillDictionary, "Warrior_08_SkillData"); }
public void StageData(string name) { DataStruct.LoadData <StageInfo>(out stageData, name); LoadLevelData(name); }