Свойство | Type | Description | |
---|---|---|---|
direction | Vector2 | ||
fadeTime | float | ||
hitBox | |||
isVisable | bool | ||
origin | Vector2 | ||
pos | Vector2 | ||
speed | float | ||
texture | Microsoft.Xna.Framework.Graphics.Texture2D |
Méthode | Description | |
---|---|---|
CheckBoundries ( int scrnWidth, int scrnHeight ) : void | ||
Draw ( |
||
GetDirection ( ) : Vector2 | ||
GetFadeTime ( ) : float | ||
GetHitbox ( ) : |
||
GetIsVisable ( ) : bool | ||
GetPos ( ) : Vector2 | ||
GetTexture ( ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
Load ( Microsoft.Xna.Framework.Content.ContentManager content, Vector2 direction ) : void | ||
SetDirection ( Vector2 direction ) : void | ||
SetIsVisable ( bool isVisable ) : void | ||
SetPos ( Vector2 pos ) : void | ||
SetTexture ( Microsoft.Xna.Framework.Graphics.Texture2D texture ) : void | ||
Update ( |
||
Weapon ( ) : System |
public CheckBoundries ( int scrnWidth, int scrnHeight ) : void | ||
scrnWidth | int | |
scrnHeight | int | |
Résultat | void |
public abstract Draw ( |
||
spriteBatch | ||
Résultat | void |
public GetHitbox ( ) : |
||
Résultat |
public GetTexture ( ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
Résultat | Microsoft.Xna.Framework.Graphics.Texture2D |
public abstract Load ( Microsoft.Xna.Framework.Content.ContentManager content, Vector2 direction ) : void | ||
content | Microsoft.Xna.Framework.Content.ContentManager | |
direction | Vector2 | |
Résultat | void |
public SetDirection ( Vector2 direction ) : void | ||
direction | Vector2 | |
Résultat | void |
public SetIsVisable ( bool isVisable ) : void | ||
isVisable | bool | |
Résultat | void |
public SetTexture ( Microsoft.Xna.Framework.Graphics.Texture2D texture ) : void | ||
texture | Microsoft.Xna.Framework.Graphics.Texture2D | |
Résultat | void |
public abstract Update ( |
||
gameTime | ||
direction | Vector2 | |
Résultat | void |
protected Rectangle,Microsoft.Xna.Framework hitBox | ||
Résultat |