C# Class ProjectCow.Cow

Inheritance: LiftObject
Afficher le fichier Open project: csce3513/Team12 Class Usage Examples

Méthodes publiques

Méthode Description
Cow ( Vector2 position, float resistance, GameObjectsManager manager, Random random ) : System
Draw ( SpriteBatch spriteBatch ) : void
LoadContent ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
Update ( GameTime gameTime ) : void

Private Methods

Méthode Description
Move ( ) : void
MoveRandomly ( GameTime gameTime ) : void

Method Details

Cow() public méthode

public Cow ( Vector2 position, float resistance, GameObjectsManager manager, Random random ) : System
position Vector2
resistance float
manager GameObjectsManager
random System.Random
Résultat System

Draw() public méthode

public Draw ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
Résultat void

LoadContent() public méthode

public LoadContent ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
content Microsoft.Xna.Framework.Content.ContentManager
Résultat void

Update() public méthode

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void