MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / MouseWasClickedThisTimestep

Function MouseWasClickedThisTimestep

Source/Editors/map_editor.cpp:1837–1842  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1835}
1836
1837static bool MouseWasClickedThisTimestep(Mouse* mouse) {
1838 for (int i : mouse->mouse_down_) {
1839 if (i == Mouse::CLICKED) return true;
1840 }
1841 return false;
1842}
1843
1844int MapEditor::ReplaceObjects(const std::vector<Object*>& objects, const std::string& replacement_path) {
1845 if (LoadEntitiesFromFile(replacement_path) != 0)

Callers 1

UpdateTransformToolMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected