Blame view

ios/Runner/Wowgame/Classes/Parsing/ScenarioParsing/TimerActionParser.h 942 Bytes
cb213901   xiaoyu   添加一个游戏的源码和编译选项
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
  //
  //  TimerActionParser.h
  //  WattsenglishToyApp
  //
  //  Created by Katarzyna Kalinowska-Górska on 28/12/2019.
  //
  
  #ifndef TimerActionParser_h
  #define TimerActionParser_h
  
  #include "ActionParser.h"
  
  class TimerActionParser : public ActionParser
  {
       public:
  
          static TimerActionParser& getInstance()
          {
              static TimerActionParser instance;
              return instance;
          };
  
          cocos2d::Action* parseJSONAction(const rapidjson::Value& jsonActionObject, ActionParseDelegate* parseDelegate, bool notifyDelegateWhenFinished = true);
      
      protected:
          cocos2d::Action* parseStartTimerAction(const rapidjson::Value& jsonActionObject, ActionParseDelegate* parseDelegate, bool notifyDelegateWhenFinished);
          cocos2d::Action* parseStopTimerAction(const rapidjson::Value& jsonActionObject, ActionParseDelegate* parseDelegate, bool notifyDelegateWhenFinished);
  };
  
  #endif /* TimerActionParser_h */