MCPcopy Create free account
hub / github.com/The-Powder-Toy/The-Powder-Toy / SetValues

Method SetValues

src/gui/interface/DirectionSelector.cpp:105–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103}
104
105void DirectionSelector::SetValues(float x, float y)
106{
107 value.xValue = x;
108 value.yValue = y;
109 SetPosition(GravityValueToValue(x, y).offset);
110}
111
112void DirectionSelector::Draw(const ui::Point& screenPos)
113{

Callers 1

DirectionSelectorMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected