C# Class Gears.Playable._INTRANSIT.Projectile

显示文件 Open project: spectrumbranch/gearsvge

Public Methods

Method Description
Draw ( SpriteBatch spriteBatch ) : void

Draws the projectile.

Update ( GameTime gameTime ) : void

Updates the status of the projectile.

Private Methods

Method Description
LoadContent ( Microsoft.Xna.Framework.Game game, string parentDir ) : void

Loads the graphical content for the Projectile.

Method Details

Draw() public method

Draws the projectile.
public Draw ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch Enables a group of sprites to be drawn using the same settings.
return void

Update() public method

Updates the status of the projectile.
public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime /// Snapshot of the game timing values which can be used for /// time-based calculations and representations. ///
return void