2 // ShipDeckCommand.swift
5 // Created by Hori,Masaki on 2017/01/09.
6 // Copyright © 2017年 Hori,Masaki. All rights reserved.
11 class ShipDeckCommand: JSONCommand {
12 override class func canExecuteAPI(_ api: String) -> Bool {
13 if api == "/kcsapi/api_get_member/ship_deck" { return true }
17 override func execute() {
18 ShipMapper(apiResponse).commit()
19 DeckMapper(apiResponse).commit()
20 DummyShipCommand(apiResponse: apiResponse).execute()
21 GuardShelterCommand(apiResponse: apiResponse).execute()
22 DropShipHistoryCommand(apiResponse: apiResponse).execute()