C# Class Gravitation.SpriteObjects.NetLink

Inheritance: AlternateShot
Afficher le fichier Open project: thedamoes/Gravitation Class Usage Examples

Méthodes publiques

Свойство Type Description
contactMade bool
damageTaken int
damageToDeal int

Méthodes publiques

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

Private Methods

Méthode Description
Body_OnCollision ( Fixture fixturea, Fixture fixtureb, Contact contact ) : bool
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

NetLink() public méthode

public NetLink ( 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

removeObject() public méthode

public removeObject ( ) : void
Résultat void

Property Details

contactMade public_oe property

public bool contactMade
Résultat bool

damageTaken public_oe property

public int damageTaken
Résultat int

damageToDeal public_oe property

public int damageToDeal
Résultat int