Table of Contents

Class HoverTooltip

public sealed class HoverTooltip
Inheritance
object
HoverTooltip

Fields

OrderHoverResolve

public const int OrderHoverResolve = 150

Field Value

int

Properties

FocusedOverride

public static bool? FocusedOverride { get; set; }

Property Value

bool?

PointerOverride

public static Vector2? PointerOverride { get; set; }

Property Value

Vector2?

Methods

Claim(object, double)

public void Claim(object owner, double distanceSq)

Parameters

owner object
distanceSq double

For(object)

public static HoverTooltip For(object mapScope)

Parameters

mapScope object

Returns

HoverTooltip

IsWinner(object)

public bool IsWinner(object owner)

Parameters

owner object

Returns

bool

PointerHasLeft(VisualElement)

public bool PointerHasLeft(VisualElement hovered)

Parameters

hovered VisualElement

Returns

bool

Reset()

public void Reset()

ResetAll()

public static void ResetAll()

Show(string, Color, Color, int, Font)

public void Show(string text, Color textColor, Color background, int fontSize, Font font)

Parameters

text string
textColor Color
background Color
fontSize int
font Font

Tick()

public void Tick()

TickAll()

public static void TickAll()