C# Class PGCGame.HealthPack

Inheritance: SecondaryWeapon
显示文件 Open project: GreatMindsRobotics/PGCGame

Public Methods

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

Method Details

HealthPack() public method

public HealthPack ( 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 currentGameTime ) : void
currentGameTime GameTime
return void