C# Class MyPolarBear.GameObjects.Projectile

Inheritance: System.Entity
Afficher le fichier Open project: sgdc/sgdc-old Class Usage Examples

Méthodes publiques

Свойство Type Description
Shooter PolarBear

Méthodes publiques

Méthode Description
Draw ( SpriteBatch spriteBatch ) : void
LoadContent ( ) : void
Projectile ( Vector2 position, float speed, Vector2 direction, PolarBear type, PolarBear shooter ) : System
Update ( GameTime gameTime ) : void

Private Methods

Méthode Description
hitEntity ( System.Entity entity ) : void

Method Details

Draw() public méthode

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

LoadContent() public méthode

public LoadContent ( ) : void
Résultat void

Projectile() public méthode

public Projectile ( Vector2 position, float speed, Vector2 direction, PolarBear type, PolarBear shooter ) : System
position Vector2
speed float
direction Vector2
type PolarBear
shooter PolarBear
Résultat System

Update() public méthode

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

Property Details

Shooter public_oe property

public PolarBear,MyPolarBear.GameObjects Shooter
Résultat PolarBear