| 82 | } |
| 83 | |
| 84 | void AnimationComponent::moveChildren(int offsetx, int offsety) |
| 85 | { |
| 86 | Eigen::Vector3f move((float)offsetx, (float)offsety, 0); |
| 87 | for(unsigned int i = 0; i < mChildren.size(); i++) |
| 88 | { |
| 89 | GuiComponent* comp = mChildren.at(i); |
| 90 | comp->setPosition(comp->getPosition() + move); |
| 91 | } |
| 92 | } |
| 93 | |
| 94 | void AnimationComponent::setChildrenOpacity(unsigned char opacity) |
| 95 | { |
nothing calls this directly
no test coverage detected