![]() |
Pathfinder
v3.0
The definitive Hacknet programmable modding system
|
Public Member Functions | |
abstract bool | HandleInteraction () |
bool | Contains (Point p) |
Static Public Member Functions | |
static bool | Contains (T x, T y, T width, T height, Point p) |
Public Attributes | |
virtual bool | IsActive => !GuiData.blockingInput && Contains(GuiData.getMousePoint()) |
virtual bool | IsReleased => IsActive && (GuiData.mouseLeftUp() || GuiData.mouse.LeftButton == ButtonState.Released) |
virtual bool | IsHeldDown |
Protected Member Functions | |
BaseInteraction (T x, T y, T width, T height) | |
Properties | |
virtual bool | JustReleased [get, protected set] |
virtual bool | WasHeld [get, protected set] |
T | X [get, set] |
T | Y [get, set] |
T | Width [get, set] |
T | Height [get, set] |
Vector2< T > | Position [get, set] |
Vector2< T > | Size [get, set] |
Vector4< T > | Rectangle [get, set] |
|
protected |
bool Pathfinder.GUI.BaseInteraction< T >.Contains | ( | Point | p | ) |
|
static |
|
pure virtual |
Implemented in Pathfinder.GUI.BaseInteractiveRectangle< T >.
virtual bool Pathfinder.GUI.BaseInteraction< T >.IsActive => !GuiData.blockingInput && Contains(GuiData.getMousePoint()) |
virtual bool Pathfinder.GUI.BaseInteraction< T >.IsHeldDown |
virtual bool Pathfinder.GUI.BaseInteraction< T >.IsReleased => IsActive && (GuiData.mouseLeftUp() || GuiData.mouse.LeftButton == ButtonState.Released) |
|
getset |
|
getprotected set |
|
getset |
|
getset |
|
getset |
|
getprotected set |
|
getset |
|
getset |
|
getset |