MCPcopy Create free account
hub / github.com/AbyssEngine/AbyssEngineOld / MouseState

Method MouseState

src/Abyss/Common/MouseState.cpp:6–6  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4namespace Abyss::Common {
5
6MouseState::MouseState() : _x(0), _y(0), _visible(true) {}
7
8[[nodiscard]] bool MouseState::isButtonPressed(Enums::MouseButton button) const { return (static_cast<uint8_t>(_button) & static_cast<uint8_t>(button)) != 0; }
9

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected