C# Class Swordening.MissileSpell

Inheritance: BaseAbility
Afficher le fichier Open project: ArghyV/Peliohjelmointi-s2011

Méthodes publiques

Méthode Description
CastDirection ( Vector3 mousePosi ) : void

Gives the projectile a proper direction.

Draw ( GameTime gameTime ) : void
Initialize ( ) : void
MissileSpell ( SwordeningGame game, InGame gameState, Vector3 position ) : System
Update ( GameTime gameTime ) : void

the projectile proceeds towards it's target direction and also check if it has collided with any of the games monsters.

Méthodes protégées

Méthode Description
LoadContent ( ) : void

Method Details

CastDirection() public méthode

Gives the projectile a proper direction.
public CastDirection ( Vector3 mousePosi ) : void
mousePosi Vector3
Résultat void

Draw() public méthode

public Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void

Initialize() public méthode

public Initialize ( ) : void
Résultat void

LoadContent() protected méthode

protected LoadContent ( ) : void
Résultat void

MissileSpell() public méthode

public MissileSpell ( SwordeningGame game, InGame gameState, Vector3 position ) : System
game SwordeningGame
gameState InGame
position Vector3
Résultat System

Update() public méthode

the projectile proceeds towards it's target direction and also check if it has collided with any of the games monsters.
public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void