Method | Description | |
---|---|---|
Clone ( ) : |
||
HandleInput ( |
Handles the input events from the player controlling the current control
|
|
Invalidate ( ) : void |
Marks this control as requiring to be refreshed
|
|
LoadContent ( IContentCatalogue catalogue, Microsoft.Xna.Framework.Content.ContentManager manager ) : void |
Load all XNA ContentManager content
|
|
LoseFocus ( ) : void |
Removes focus from the current control
|
|
OnClicked ( ) : void |
|
|
OnInputDown ( ) : void |
|
|
OnInputLeft ( ) : void |
|
|
OnInputRight ( ) : void |
|
|
OnInputUp ( ) : void |
|
|
PrepareRenderTarget ( GraphicsDevice device ) : void |
Creates or recreate the RenderTarget where the control will be rendered
|
|
Refresh ( GraphicsDevice device ) : void |
Refreshes the control properties when it requires to be redrawn to the RenderTarget
|
|
Render ( |
Renders the control
|
|
SetFocus ( ) : void |
Sets focus to the current control
|
|
UnloadContent ( IContentCatalogue catalogue ) : void |
Unload all XNA ContentManager content
|
Method | Description | |
---|---|---|
Control ( ) : System |
Creates a new control instance
|
|
OnFocusAcquired ( ) : void |
|
|
OnFocusLost ( ) : void |
|
Method | Description | |
---|---|---|
IGuiElement ( GraphicsDevice device ) : void |
Refreshes the control properties when it requires to be redrawn to the RenderTarget
|
|
IGuiElement ( |
Renders the control
|
public HandleInput ( |
||
input | The current player input states | |
gameTime | The GameTime instance | |
return | void |
public abstract LoadContent ( IContentCatalogue catalogue, Microsoft.Xna.Framework.Content.ContentManager manager ) : void | ||
catalogue | IContentCatalogue | |
manager | Microsoft.Xna.Framework.Content.ContentManager | XNA content manage |
return | void |
public PrepareRenderTarget ( GraphicsDevice device ) : void | ||
device | GraphicsDevice | |
return | void |
public Refresh ( GraphicsDevice device ) : void | ||
device | GraphicsDevice | |
return | void |
public Render ( |
||
spriteRenderer | ||
return | void |
public abstract UnloadContent ( IContentCatalogue catalogue ) : void | ||
catalogue | IContentCatalogue | |
return | void |