C# Class ProjectCow.SmallRocket

Small rockets from tanks
Inheritance: Projectile
Exibir arquivo Open project: csce3513/Team12 Class Usage Examples

Public Methods

Method 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

Method Description
SetRotation ( ) : void
SetVelocity ( Vector2 spaceshipPosition, int width, int height ) : void

Method Details

Draw() public method

public Draw ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
return void

LoadContent() public method

public LoadContent ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
content Microsoft.Xna.Framework.Content.ContentManager
return void

SmallRocket() public method

public SmallRocket ( Vector2 position, GameObjectsManager manager ) : System
position Vector2
manager GameObjectsManager
return System

Update() public method

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