| 864 | } |
| 865 | |
| 866 | void Node::unscheduleFixedUpdate() { |
| 867 | if (_flags.isOn(Node::FixedUpdating)) { |
| 868 | _flags.setOff(Node::FixedUpdating); |
| 869 | if (_updateItem && _updateItem->fixedScheduledItem && _updateItem->fixedScheduledItem->iter) { |
| 870 | _scheduler->unscheduleFixed(_updateItem->fixedScheduledItem.get()); |
| 871 | } |
| 872 | } |
| 873 | } |
| 874 | |
| 875 | bool Node::fixedUpdate(double deltaTime) { |
| 876 | return !isFixedUpdating(); |
nothing calls this directly
no test coverage detected