C# Class Gravitation.SpriteObjects.Net

Inheritance: AlternateShot
Afficher le fichier Open project: thedamoes/Gravitation

Méthodes publiques

Свойство Type Description
collided bool
netHealth int

Méthodes publiques

Méthode Description
Draw ( SpriteBatch theSpriteBatch ) : void
LoadContent ( Microsoft.Xna.Framework.Content.ContentManager theContentManager, GraphicsDeviceManager graphics ) : void
Net ( World world, Vector2 position, float rotation, DestroyMeHandler onDeathHandler ) : System
Update ( GameTime gameTime, Matrix _view ) : void
altFire ( Vector2 theStartPosition, float rotation, float shotSpeed ) : void
removeNet ( ) : void

Private Methods

Méthode Description
rotateVector ( Vector2 direction, float angle ) : Vector2

Method Details

Draw() public méthode

public Draw ( SpriteBatch theSpriteBatch ) : void
theSpriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
Résultat void

LoadContent() public méthode

public LoadContent ( Microsoft.Xna.Framework.Content.ContentManager theContentManager, GraphicsDeviceManager graphics ) : void
theContentManager Microsoft.Xna.Framework.Content.ContentManager
graphics GraphicsDeviceManager
Résultat void

Net() public méthode

public Net ( World world, Vector2 position, float rotation, DestroyMeHandler onDeathHandler ) : System
world FarseerPhysics.Dynamics.World
position Vector2
rotation float
onDeathHandler DestroyMeHandler
Résultat System

Update() public méthode

public Update ( GameTime gameTime, Matrix _view ) : void
gameTime GameTime
_view Matrix
Résultat void

altFire() public méthode

public altFire ( Vector2 theStartPosition, float rotation, float shotSpeed ) : void
theStartPosition Vector2
rotation float
shotSpeed float
Résultat void

removeNet() public méthode

public removeNet ( ) : void
Résultat void

Property Details

collided public_oe property

public bool collided
Résultat bool

netHealth public_oe property

public int netHealth
Résultat int