OSDN Git Service

UIを調整
[kcd/KCD.git] / KCD / HMAirBattleCommand.m
1 //
2 //  HMAirBattleCommand.m
3 //  KCD
4 //
5 //  Created by Hori,Masaki on 2015/04/17.
6 //  Copyright (c) 2015年 Hori,Masaki. All rights reserved.
7 //
8
9 #import "HMAirBattleCommand.h"
10
11 #import "HMCalculateDamageCommand.h"
12 #import "HMDropShipHistoryCommand.h"
13
14 @implementation HMAirBattleCommand
15 + (void)load
16 {
17         static dispatch_once_t onceToken;
18         dispatch_once(&onceToken, ^{
19                 [HMJSONCommand registerClass:self];
20         });
21 }
22
23 + (BOOL)canExcuteAPI:(NSString *)api
24 {
25         return [api isEqualToString:@"/kcsapi/api_req_sortie/airbattle"];
26 }
27
28 - (id)init
29 {
30         self = [super initWithCommands:
31                         [HMDropShipHistoryCommand new],
32                         [HMCalculateDamageCommand new],
33                         nil];
34         return self;
35 }
36 @end