C# Class ManicDigger.Hud.HUD

Inheritance: IHUD
Afficher le fichier Open project: henon/manic_digger

Méthodes publiques

Méthode Description
AddComponent ( IHUDComponent component ) : void
GetComponent ( Type type ) : IHUDComponent
GetComponent ( string name ) : IHUDComponent
HUD ( IServiceProvider serviceProvider, int screenWidth, int screenHeight ) : System
Initialize ( ) : void
LoadLayout ( Stream stream ) : void
OnKeyDown ( KeyboardKeyEventArgs e ) : void
OnKeyUp ( KeyboardKeyEventArgs e ) : void
OnResize ( int width, int height ) : void
RemoveComponent ( IHUDComponent component ) : void
Render ( ) : void
SaveLayout ( Stream stream ) : void
Update ( double delta ) : void

Private Methods

Méthode Description
CompareComponentOrder ( IHUDComponent left, IHUDComponent right ) : int
HUD ( ) : System

Method Details

AddComponent() public méthode

public AddComponent ( IHUDComponent component ) : void
component IHUDComponent
Résultat void

GetComponent() public méthode

public GetComponent ( Type type ) : IHUDComponent
type System.Type
Résultat IHUDComponent

GetComponent() public méthode

public GetComponent ( string name ) : IHUDComponent
name string
Résultat IHUDComponent

HUD() public méthode

public HUD ( IServiceProvider serviceProvider, int screenWidth, int screenHeight ) : System
serviceProvider IServiceProvider
screenWidth int
screenHeight int
Résultat System

Initialize() public méthode

public Initialize ( ) : void
Résultat void

LoadLayout() public méthode

public LoadLayout ( Stream stream ) : void
stream Stream
Résultat void

OnKeyDown() public méthode

public OnKeyDown ( KeyboardKeyEventArgs e ) : void
e OpenTK.Input.KeyboardKeyEventArgs
Résultat void

OnKeyUp() public méthode

public OnKeyUp ( KeyboardKeyEventArgs e ) : void
e OpenTK.Input.KeyboardKeyEventArgs
Résultat void

OnResize() public méthode

public OnResize ( int width, int height ) : void
width int
height int
Résultat void

RemoveComponent() public méthode

public RemoveComponent ( IHUDComponent component ) : void
component IHUDComponent
Résultat void

Render() public méthode

public Render ( ) : void
Résultat void

SaveLayout() public méthode

public SaveLayout ( Stream stream ) : void
stream Stream
Résultat void

Update() public méthode

public Update ( double delta ) : void
delta double
Résultat void