Свойство | Тип | Описание | |
---|---|---|---|
GetPunch | GameObject | ||
HandleInputs | void | ||
getOverlayPos | Vector2 |
Метод | Описание | |
---|---|---|
Draw ( |
||
Fighter ( Vector2 pos, Microsoft.Xna.Framework.Graphics.Texture2D overlay_, |
||
GetBoundingBox ( ) : |
||
OnCollision ( GameObject other, Direction dir ) : void | ||
Update ( |
Метод | Описание | |
---|---|---|
GetPunch ( ) : GameObject | ||
HandleInputs ( ) : void | ||
getOverlayPos ( ) : Vector2 |
public Draw ( |
||
spriteBatch | ||
Результат | 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 | |
Результат | Bug.Display |
public GetBoundingBox ( ) : |
||
Результат |
public OnCollision ( GameObject other, Direction dir ) : void | ||
other | GameObject | |
dir | Direction | |
Результат | void |
public Update ( |
||
gameTime | ||
Результат | void |