OSDN Git Service

guard の書き方を統一した
[kcd/KCD.git] / KCD / ShipType.swift
1 //
2 //  ShipType.swift
3 //  KCD
4 //
5 //  Created by Hori,Masaki on 2017/09/08.
6 //  Copyright © 2017年 Hori,Masaki. All rights reserved.
7 //
8
9 import Foundation
10
11
12 enum ShipType: Int {
13     
14     case destroyerEscorts = 1
15     
16     case destroyer = 2
17     
18     case lightCruiser = 3
19     
20     case torpedoCruiser = 4
21     
22     case heavyCruiser = 5
23     
24     case aviationCruiser = 6
25     
26     case lightAircraftCarrier = 7
27     
28     case battleship = 8
29     
30     case battleshipII = 9
31     
32     case aviationBattleship = 10
33     
34     case standardAircraftCarrier = 11
35     
36     case superdreadnoughtClassBattleship = 12
37     
38     case submarines = 13
39     
40     case submarineAircraftCarrier = 14
41     
42     case fleetOilerEnemy = 15
43     
44     case seaplaneTender = 16
45     
46     case amphibiousAssaultShip = 17
47     
48     case armoredCarrier = 18
49     
50     case repairShip = 19
51     
52     case submarineTender = 20
53     
54     case trainingCruiser = 21
55     
56     case supplyShip = 22
57 }