| 55 | class ActionTypeCell : public CCNode { |
| 56 | public: |
| 57 | static ActionTypeCell* create(const ActionType& type) { |
| 58 | auto ret = new ActionTypeCell; |
| 59 | ret->init(type); |
| 60 | ret->autorelease(); |
| 61 | return ret; |
| 62 | } |
| 63 | |
| 64 | private: |
| 65 | bool init(const ActionType& type) { |