Method | Description | |
---|---|---|
AddAnimation ( AnimationType type, Direction direction, int spriteSheetRow, int framesLength, int frameDuration, bool flipHorizontally = false ) : void | ||
Animate ( AnimationType type, Direction direction ) : void | ||
Update ( |
Method | Description | |
---|---|---|
BeginSpriteBatch ( ) : void | ||
PlayerSprite ( |
||
TranslateCoordinatePositionToPixelPosition ( ) : void |
public AddAnimation ( AnimationType type, Direction direction, int spriteSheetRow, int framesLength, int frameDuration, bool flipHorizontally = false ) : void | ||
type | AnimationType | |
direction | Direction | |
spriteSheetRow | int | |
framesLength | int | |
frameDuration | int | |
flipHorizontally | bool | |
return | void |
public Animate ( AnimationType type, Direction direction ) : void | ||
type | AnimationType | |
direction | Direction | |
return | void |
protected PlayerSprite ( |
||
game | ||
spriteSheetName | string | |
pixelWidth | int | |
pixelHeight | int | |
pixelOffsetX | int | |
pixelOffsetY | int | |
coordinatePosition | Vector2 | |
return | System |
protected TranslateCoordinatePositionToPixelPosition ( ) : void | ||
return | void |
public Update ( |
||
gameTime | ||
return | void |