public static Monster Load(IMonsterReader monsterReader, IDataReader dataReader) { var monster = new Monster(); monsterReader.ReadMonster(monster, dataReader); return(monster); }
public static Monster Load(uint index, IMonsterReader monsterReader, IDataReader dataReader) { var monster = new Monster { Index = index }; monsterReader.ReadMonster(monster, dataReader); return(monster); }