C# Class MyGame.FirstAid

This class represent a first aid item that rotates with time
Inheritance: CDrawableComponent
Show file Open project: mahmoudbahaa/XNA-Game-project Class Usage Examples

Public Methods

Method Description
FirstAid ( MyGame game, Model model, Unit unit ) : System
Update ( GameTime gameTime ) : void

Allows the game component to update itself.

Method Details

FirstAid() public method

public FirstAid ( MyGame game, Model model, Unit unit ) : System
game MyGame
model Microsoft.Xna.Framework.Graphics.Model
unit Unit
return System

Update() public method

Allows the game component to update itself.
public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime Provides a snapshot of timing values.
return void