Property | Type | Description | |
---|---|---|---|
GetPunch | GameObject | ||
HandleInputs | void | ||
getOverlayPos | Vector2 |
Method | Description | |
---|---|---|
Draw ( |
||
Fighter ( Vector2 pos, Microsoft.Xna.Framework.Graphics.Texture2D overlay_, |
||
GetBoundingBox ( ) : |
||
OnCollision ( GameObject other, Direction dir ) : void | ||
Update ( |
Method | Description | |
---|---|---|
GetPunch ( ) : GameObject | ||
HandleInputs ( ) : void | ||
getOverlayPos ( ) : Vector2 |
public Draw ( |
||
spriteBatch | ||
return | void |
public Fighter ( Vector2 pos, Microsoft.Xna.Framework.Graphics.Texture2D overlay_, |
||
pos | Vector2 | |
overlay_ | Microsoft.Xna.Framework.Graphics.Texture2D | |
idleAnim_ | ||
punchAnim_ | ||
recoilAnim_ | ||
input_ | ||
punch_ | ||
flip_ | bool | |
speed_ | float | |
health_ | double | |
power_ | double | |
return | Bug.Display |
public GetBoundingBox ( ) : |
||
return |
public OnCollision ( GameObject other, Direction dir ) : void | ||
other | GameObject | |
dir | Direction | |
return | void |
public Update ( |
||
gameTime | ||
return | void |