C# Class Swordening.MissileSpell

Inheritance: BaseAbility
ファイルを表示 Open project: ArghyV/Peliohjelmointi-s2011

Public Methods

Method 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.

Protected Methods

Method Description
LoadContent ( ) : void

Method Details

CastDirection() public method

Gives the projectile a proper direction.
public CastDirection ( Vector3 mousePosi ) : void
mousePosi Vector3
return void

Draw() public method

public Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void

Initialize() public method

public Initialize ( ) : void
return void

LoadContent() protected method

protected LoadContent ( ) : void
return void

MissileSpell() public method

public MissileSpell ( SwordeningGame game, InGame gameState, Vector3 position ) : System
game SwordeningGame
gameState InGame
position Vector3
return System

Update() public method

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
return void