C# Class ProjectCow.SmallRocket

Small rockets from tanks
Inheritance: Projectile
Afficher le fichier Open project: csce3513/Team12 Class Usage Examples

Méthodes publiques

Méthode Description
Draw ( SpriteBatch spriteBatch ) : void
LoadContent ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
SmallRocket ( Vector2 position, GameObjectsManager manager ) : System
Update ( GameTime gameTime ) : void

Private Methods

Méthode Description
SetRotation ( ) : void
SetVelocity ( Vector2 spaceshipPosition, int width, int height ) : 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 ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
content Microsoft.Xna.Framework.Content.ContentManager
Résultat void

SmallRocket() public méthode

public SmallRocket ( Vector2 position, GameObjectsManager manager ) : System
position Vector2
manager GameObjectsManager
Résultat System

Update() public méthode

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