Свойство | Type | Description | |
---|---|---|---|
isReloading | bool | ||
maxAmmo | int | ||
reloadTimer | double | ||
timeSinceLastShot | double |
Свойство | Type | Description | |
---|---|---|---|
ammo | List |
||
ammoCount | int | ||
ammoTexture | Microsoft.Xna.Framework.Graphics.Texture2D | ||
auto | bool | ||
damage | int | ||
fireRate | double | ||
isAcquired | bool | ||
level | int | ||
name | string | ||
range | double | ||
reload | |||
reloadTime | double | ||
shoot | |||
spread | double | ||
texture | Microsoft.Xna.Framework.Graphics.Texture2D |
Méthode | Description | |
---|---|---|
CheckAmmo ( ) : bool | ||
CheckFireRate ( double timeElapsed ) : bool | ||
FillAmmo ( ) : void | ||
GetSpread ( ) : double | ||
Reload ( Queue |
||
Reloading ( double timeElapsed ) : bool | ||
Shoot ( Microsoft.Xna.Framework.Content.ContentManager content, |
||
TotalAmmo ( ) : int | ||
Weapon ( Microsoft.Xna.Framework.Content.ContentManager content ) : Microsoft.Xna.Framework | ||
Weapon ( Microsoft.Xna.Framework.Content.ContentManager content, List |
||
Weapon ( Microsoft.Xna.Framework.Content.ContentManager content, bool au, double spr, int fr, string t, int d, string ammoT, string n, int maxAm, int ammoC, double rlTime, int rng, int lvl, bool acq ) : Microsoft.Xna.Framework | ||
Weapon ( Microsoft.Xna.Framework.Content.ContentManager content, bool au, double spr, int fr, string t, int d, string ammoT, string n, int maxAm, int ammoC, double rlTime, int rng, int lvl, bool acq, |
public CheckFireRate ( double timeElapsed ) : bool | ||
timeElapsed | double | |
Résultat | bool |
public Reloading ( double timeElapsed ) : bool | ||
timeElapsed | double | |
Résultat | bool |
public Shoot ( Microsoft.Xna.Framework.Content.ContentManager content, |
||
content | Microsoft.Xna.Framework.Content.ContentManager | |
p | ||
c | ||
tileSize | int | |
e | ||
Résultat |
public Weapon ( Microsoft.Xna.Framework.Content.ContentManager content ) : Microsoft.Xna.Framework | ||
content | Microsoft.Xna.Framework.Content.ContentManager | |
Résultat | Microsoft.Xna.Framework |
public Weapon ( Microsoft.Xna.Framework.Content.ContentManager content, List |
||
content | Microsoft.Xna.Framework.Content.ContentManager | |
a | List |
|
au | bool | |
spr | double | |
fr | int | |
t | string | |
d | int | |
Résultat | Microsoft.Xna.Framework |
public Weapon ( Microsoft.Xna.Framework.Content.ContentManager content, bool au, double spr, int fr, string t, int d, string ammoT, string n, int maxAm, int ammoC, double rlTime, int rng, int lvl, bool acq ) : Microsoft.Xna.Framework | ||
content | Microsoft.Xna.Framework.Content.ContentManager | |
au | bool | |
spr | double | |
fr | int | |
t | string | |
d | int | |
ammoT | string | |
n | string | |
maxAm | int | |
ammoC | int | |
rlTime | double | |
rng | int | |
lvl | int | |
acq | bool | |
Résultat | Microsoft.Xna.Framework |
public Weapon ( Microsoft.Xna.Framework.Content.ContentManager content, bool au, double spr, int fr, string t, int d, string ammoT, string n, int maxAm, int ammoC, double rlTime, int rng, int lvl, bool acq, |
||
content | Microsoft.Xna.Framework.Content.ContentManager | |
au | bool | |
spr | double | |
fr | int | |
t | string | |
d | int | |
ammoT | string | |
n | string | |
maxAm | int | |
ammoC | int | |
rlTime | double | |
rng | int | |
lvl | int | |
acq | bool | |
shot | ||
rl | ||
Résultat | Microsoft.Xna.Framework |
protected Texture2D,Microsoft.Xna.Framework.Graphics ammoTexture | ||
Résultat | Microsoft.Xna.Framework.Graphics.Texture2D |
protected SoundEffect,Microsoft.Xna.Framework.Audio reload | ||
Résultat |
protected SoundEffect,Microsoft.Xna.Framework.Audio shoot | ||
Résultat |
protected Texture2D,Microsoft.Xna.Framework.Graphics texture | ||
Résultat | Microsoft.Xna.Framework.Graphics.Texture2D |