public void Given武器清單是(Table table) { _WeaponChancesTable = new WeaponChancesTable(_ToData(table)); }
private void _InitialWeapon() { var datas = new[] { new ChancesTable<int>.Data { Key = 0, Value = 0.9f }, new ChancesTable<int>.Data { Key = 2, Value = 0.033f }, new ChancesTable<int>.Data { Key = 3, Value = 0.033f }, new ChancesTable<int>.Data { Key = 4, Value = 0.033f } }; _WeaponChancesTable = new WeaponChancesTable(datas); }