Game. tooltip

Methods

(static) draw(from, text, x, y, origin) → {void}

Draw tooltip

Parameters:
NameTypeDescription
fromHTMLElement
textstring
xnumber
ynumber
originstring

left, bottom-right, middle

Returns:
Type: 
void

(static) hide() → {void}

Hides the tooltip

Returns:
Type: 
void