void BlockHouse::setTarget(cocos2d::Vec2 target) { this->target = target; float angle = target.getAngle(); angle = -CC_RADIANS_TO_DEGREES(angle); this->setRotation(angle); }