Method | Description | |
---|---|---|
Component ( |
||
Draw ( |
||
GetDepth ( ) : int |
Gets the depth of this component.
|
|
GetLocation ( ) : Point |
Gets the location relative to the parent.
|
|
GetScreenBounds ( ) : |
Gets the location on the screen of this component.
|
|
OnMouseEnter ( MouseEvent e ) : void | ||
OnMouseExit ( MouseEvent e ) : void | ||
Unload ( ) : void | ||
Update ( ) : void |
Method | Description | |
---|---|---|
GetDrawDepthOffset ( ) : float |
Takes the depth of this component, and multiplies it by 0.01f to get a value which you can use to draw the component at the correct depth on the screen.
|
public Component ( |
||
parent | ||
bounds | ||
return | System |
public abstract Draw ( |
||
sb | ||
return | void |
public GetScreenBounds ( ) : |
||
return |
public abstract OnMouseEnter ( MouseEvent e ) : void | ||
e | MouseEvent | |
return | void |
public abstract OnMouseExit ( MouseEvent e ) : void | ||
e | MouseEvent | |
return | void |