| 71 | } |
| 72 | |
| 73 | void setProperty(std::string_view _key, std::string_view _value) override |
| 74 | { |
| 75 | if (_key == "LengthByState") |
| 76 | { |
| 77 | mState = getGraph()->getNodeByName(_value); |
| 78 | } |
| 79 | else if (_key == "Length") |
| 80 | { |
| 81 | mLength = MyGUI::utility::parseValue<float>(_value); |
| 82 | } |
| 83 | } |
| 84 | |
| 85 | private: |
| 86 | void start() |
nothing calls this directly
no test coverage detected