C# Class PGCGame.SpaceMine

Inheritance: SecondaryWeapon
Show file Open project: GreatMindsRobotics/PGCGame

Public Properties

Property Type Description
RemainingArmTime System.TimeSpan

Public Methods

Method Description
SpaceMine ( Texture2D texture, Vector2 location, SpriteBatch spriteBatch ) : System
Update ( GameTime gameTime ) : void

Private Methods

Method Description
checkIfShipHitMine ( Ship ship ) : void

Method Details

SpaceMine() public method

public SpaceMine ( Texture2D texture, Vector2 location, SpriteBatch spriteBatch ) : System
texture Texture2D
location Vector2
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
return System

Update() public method

public Update ( GameTime gameTime ) : void
gameTime GameTime
return void

Property Details

RemainingArmTime public property

public TimeSpan,System RemainingArmTime
return System.TimeSpan