Loading...
Searching...
No Matches
CityBuilderCore.DefaultTooltipManager Class Reference

Detailed Description

manages the tooltip, tooltips are only displayed after a delay and vanish when the mouse is moved
the UI part of displaying the tooltip is done in TooltipPanel

https://citybuilder.softleitner.com/manual

Inheritance diagram for CityBuilderCore.DefaultTooltipManager:
CityBuilderCore.ITooltipManager

Public Member Functions

void Enter (ITooltipOwner owner)
 the pointer has entered the owners area
 
void Exit (ITooltipOwner owner)
 the pointer has exited the owners area
 

Public Attributes

TooltipPanel Panel
 
float Delay = 0.25f
 

Member Function Documentation

◆ Enter()

void CityBuilderCore.DefaultTooltipManager.Enter ( ITooltipOwner owner)
inline

the pointer has entered the owners area

Parameters
owneran object that has a tooltip

Implements CityBuilderCore.ITooltipManager.

◆ Exit()

void CityBuilderCore.DefaultTooltipManager.Exit ( ITooltipOwner owner)
inline

the pointer has exited the owners area

Parameters
owneran object that has a tooltip

Implements CityBuilderCore.ITooltipManager.