Loading...
Searching...
No Matches
CityBuilderCore.IViewsManager Interface Reference

Detailed Description

manages the active View

Inheritance diagram for CityBuilderCore.IViewsManager:
CityBuilderCore.DefaultViewManager

Public Member Functions

void ActivateView (View view)
 deactivates the currently active view if there is one and activates the new one
 
void DeactivateView (View view)
 deactivates the view if it is the currently active one
 

Properties

View ActiveView [get]
 the currently active view or null when null
 
bool HasActiveView [get]
 whether there is any view active currently
 

Member Function Documentation

◆ ActivateView()

void CityBuilderCore.IViewsManager.ActivateView ( View view)

deactivates the currently active view if there is one and activates the new one

Parameters
viewthe view to activate

Implemented in CityBuilderCore.DefaultViewManager.

◆ DeactivateView()

void CityBuilderCore.IViewsManager.DeactivateView ( View view)

deactivates the view if it is the currently active one

Parameters
viewthe view to deactivate

Implemented in CityBuilderCore.DefaultViewManager.

Property Documentation

◆ ActiveView

View CityBuilderCore.IViewsManager.ActiveView
get

the currently active view or null when null

Implemented in CityBuilderCore.DefaultViewManager.

◆ HasActiveView

bool CityBuilderCore.IViewsManager.HasActiveView
get

whether there is any view active currently

Implemented in CityBuilderCore.DefaultViewManager.