| 63 | } |
| 64 | |
| 65 | static PlayerCountLabel* create(bool compressed) { |
| 66 | auto ret = new PlayerCountLabel; |
| 67 | if (ret->init(compressed)) { |
| 68 | ret->autorelease(); |
| 69 | return ret; |
| 70 | } |
| 71 | |
| 72 | delete ret; |
| 73 | return nullptr; |
| 74 | } |
| 75 | |
| 76 | private: |
| 77 | CCSprite* icon = nullptr; |