| 106 | } |
| 107 | |
| 108 | DrawNode* DrawNode::create() |
| 109 | { |
| 110 | DrawNode* ret = new DrawNode(); |
| 111 | if (ret->init()) |
| 112 | { |
| 113 | ret->autorelease(); |
| 114 | } |
| 115 | else |
| 116 | { |
| 117 | AX_SAFE_DELETE(ret); |
| 118 | } |
| 119 | return ret; |
| 120 | } |
| 121 | |
| 122 | bool DrawNode::init() |
| 123 | { |
nothing calls this directly
no test coverage detected