Method | Description | |
---|---|---|
PopInOutSprite ( ) : System | ||
PopInOutSprite ( int x, int y ) : System | ||
PopInOutSprite ( int x, int y, int width, int height ) : System | ||
getAppearX ( ) : int | ||
getAppearY ( ) : int | ||
getHideX ( ) : int | ||
getHideY ( ) : int | ||
getPopDuration ( ) : float | ||
isHiding ( ) : bool | ||
isInFocus ( ) : bool | ||
isMovingIn ( ) : bool | ||
isMovingOut ( ) : bool | ||
popIn ( ) : void | ||
popOut ( ) : void | ||
setAppearX ( int x ) : void | ||
setAppearY ( int y ) : void | ||
setHideX ( int x ) : void | ||
setHideY ( int y ) : void | ||
setPopDuration ( float time ) : void | ||
setPopLocations ( int hideX, int hideY, int appearX, int appearY ) : void | ||
update ( float elapsed ) : void |
Method | Description | |
---|---|---|
updateOffsets ( object sender, |
Used for listening to camera offset update events, so the sprite stays in a constant position on screen whenever the character moves (giving the appearance of a HUD)
|
public PopInOutSprite ( int x, int y ) : System | ||
x | int | |
y | int | |
return | System |
public PopInOutSprite ( int x, int y, int width, int height ) : System | ||
x | int | |
y | int | |
width | int | |
height | int | |
return | System |
public setPopLocations ( int hideX, int hideY, int appearX, int appearY ) : void | ||
hideX | int | |
hideY | int | |
appearX | int | |
appearY | int | |
return | void |
protected updateOffsets ( object sender, |
||
sender | object | |
e | ||
return | void |