C# Class WanderingBehaviours.Entity

Inheritance: Microsoft.Xna.Framework.DrawableGameComponent
Mostra file Open project: Andrea/IncompleteGameLabs

Public Methods

Method Description
Draw ( GameTime gameTime ) : void
Entity ( Microsoft.Xna.Framework.Game game, SpriteBatch spriteBatch, WanderingBehaviours.Vehicle vehicle ) : Microsoft.Xna.Framework
SetSteeringBehaviour ( IBehaviour behaviour ) : void
Update ( GameTime gameTime ) : void

Protected Methods

Method Description
LoadContent ( ) : void

Method Details

Draw() public method

public Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void

Entity() public method

public Entity ( Microsoft.Xna.Framework.Game game, SpriteBatch spriteBatch, WanderingBehaviours.Vehicle vehicle ) : Microsoft.Xna.Framework
game Microsoft.Xna.Framework.Game
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
vehicle WanderingBehaviours.Vehicle
return Microsoft.Xna.Framework

LoadContent() protected method

protected LoadContent ( ) : void
return void

SetSteeringBehaviour() public method

public SetSteeringBehaviour ( IBehaviour behaviour ) : void
behaviour IBehaviour
return void

Update() public method

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void