Method | Description | |
---|---|---|
CastDirection ( Vector3 mousePosi ) : void |
Gives the projectile a proper direction.
|
|
Draw ( |
||
Initialize ( ) : void | ||
MissileSpell ( |
||
Update ( |
the projectile proceeds towards it's target direction and also check if it has collided with any of the games monsters.
|
Method | Description | |
---|---|---|
LoadContent ( ) : void |
public CastDirection ( Vector3 mousePosi ) : void | ||
mousePosi | Vector3 | |
return | void |
public Draw ( |
||
gameTime | ||
return | void |
public MissileSpell ( |
||
game | ||
gameState | ||
position | Vector3 | |
return | System |
public Update ( |
||
gameTime | ||
return | void |