Space Engineers
Public Member Functions | List of all members
Sandbox.Game.GameSystems.ContextHandling.MyGameFocusManager Class Reference

Manages game objects that can be deactivated. More...

Public Member Functions

void Register (IMyFocusHolder newFocusHolder)
 Registers holder as current one and informs the old one that it is defocused. More...
 
void Unregister (IMyFocusHolder focusHolder)
 Unregisters focus holder. More...
 
void Clear ()
 Informs current focus holder and than clears focus. More...
 

Detailed Description

Manages game objects that can be deactivated.

Definition at line 12 of file MyGameFocusManager.cs.

Member Function Documentation

void Sandbox.Game.GameSystems.ContextHandling.MyGameFocusManager.Clear ( )
inline

Informs current focus holder and than clears focus.

Definition at line 43 of file MyGameFocusManager.cs.

void Sandbox.Game.GameSystems.ContextHandling.MyGameFocusManager.Register ( IMyFocusHolder  newFocusHolder)
inline

Registers holder as current one and informs the old one that it is defocused.

Parameters
newFocusHolder

Definition at line 23 of file MyGameFocusManager.cs.

void Sandbox.Game.GameSystems.ContextHandling.MyGameFocusManager.Unregister ( IMyFocusHolder  focusHolder)
inline

Unregisters focus holder.

Parameters
focusHolderFocus holder to unregister.

Definition at line 34 of file MyGameFocusManager.cs.


The documentation for this class was generated from the following file: