Property | Type | Description | |
---|---|---|---|
direction | Vector2 | ||
fadeTime | float | ||
hitBox | |||
isVisable | bool | ||
origin | Vector2 | ||
pos | Vector2 | ||
speed | float | ||
texture | Microsoft.Xna.Framework.Graphics.Texture2D |
Method | 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 | |
return | void |
public abstract Draw ( |
||
spriteBatch | ||
return | void |
public GetTexture ( ) : Microsoft.Xna.Framework.Graphics.Texture2D | ||
return | 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 | |
return | void |
public SetDirection ( Vector2 direction ) : void | ||
direction | Vector2 | |
return | void |
public SetIsVisable ( bool isVisable ) : void | ||
isVisable | bool | |
return | void |
public SetTexture ( Microsoft.Xna.Framework.Graphics.Texture2D texture ) : void | ||
texture | Microsoft.Xna.Framework.Graphics.Texture2D | |
return | void |
public abstract Update ( |
||
gameTime | ||
direction | Vector2 | |
return | void |
protected Rectangle,Microsoft.Xna.Framework hitBox | ||
return |