| 280 | } |
| 281 | |
| 282 | void GameObject::setPosition(const ax::Vec2& pos) |
| 283 | { |
| 284 | Sprite::setPosition(pos); |
| 285 | _parentMatrix = getNodeToParentTransform(); |
| 286 | if (_hasGlow) |
| 287 | _glowSprite->setPosition(pos); |
| 288 | if (_hasParticle) |
| 289 | _particle->setPosition(pos); |
| 290 | } |
| 291 | void GameObject::setRotation(float rotation) |
| 292 | { |
| 293 | Sprite::setRotation(rotation); |
no outgoing calls
no test coverage detected