From: masakih Date: Mon, 27 Mar 2017 12:34:38 +0000 (+0900) Subject: 改修工廠メニューのカテゴリを変更 X-Git-Tag: 1.9b6~4 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=d8ef37bb29a6edb8c2a543a91436ceb2ea3eb6f3;p=kcd%2FKCD.git 改修工廠メニューのカテゴリを変更 --- diff --git a/KCD/Base.lproj/StrengthenListViewController.xib b/KCD/Base.lproj/StrengthenListViewController.xib index 4c637a6d..5d25c65e 100644 --- a/KCD/Base.lproj/StrengthenListViewController.xib +++ b/KCD/Base.lproj/StrengthenListViewController.xib @@ -373,11 +373,11 @@ - - - + + + - + diff --git a/KCD/StrengthenListViewController.swift b/KCD/StrengthenListViewController.swift index 25231203..b63dd16a 100644 --- a/KCD/StrengthenListViewController.swift +++ b/KCD/StrengthenListViewController.swift @@ -16,7 +16,7 @@ fileprivate struct FilterCategories { static let allType: [EquipmentType] = (1...100).flatMap { EquipmentType(rawValue: $0) } static let canonType: [EquipmentType] = [.smallCaliberMainGun, .mediumCaliberMainGun, .largeCaliberMainGun, .largeCaliberMainGunII] - static let torpedoType: [EquipmentType] = [.secondaryGun, .torpedo, .depthCharge, + static let torpedoType: [EquipmentType] = [.secondaryGun, .torpedo, .antiAircraftGun, .antiSunmrinerSercher, .submarinTorpedo, .largeSonar] static let airplaneType: [EquipmentType] = [.fighter, .bomber, .attacker, .searcher, @@ -26,7 +26,9 @@ fileprivate struct FilterCategories { .jetFighter, .jetBomber, .jetAttacker, .jetSearcher, .searcherII] - static let radarType: [EquipmentType] = [.smallRadar, .largeRadar, .sonar] + static let radarType: [EquipmentType] = [.smallRadar, .largeRadar, + .sonar, .depthCharge, + .SubmarineEquipment] static let otherType: [EquipmentType] = { return allType .filter { !canonType.contains($0) }