5 // Created by Hori,Masaki on 2014/05/22.
6 // Copyright (c) 2014年 Hori,Masaki. All rights reserved.
9 #import "HMMapStartCommand.h"
11 #import "HMCalculateDamageCommand.h"
12 #import "HMGuardShelterCommand.h"
14 @implementation HMMapStartCommand
17 static dispatch_once_t onceToken;
18 dispatch_once(&onceToken, ^{
19 [HMJSONCommand registerClass:self];
23 + (BOOL)canExcuteAPI:(NSString *)api
25 if([api isEqualToString:@"/kcsapi/api_req_map/start"]) return YES;
26 if([api isEqualToString:@"/kcsapi/api_req_map/next"]) return YES;
33 self = [super initWithCommands:
34 [HMCalculateDamageCommand new],
35 [HMGuardShelterCommand new],