C# Class MyPolarBear.AI.AIComponent

Afficher le fichier Open project: sgdc/sgdc-old Class Usage Examples

Méthodes publiques

Свойство Type Description
CurrentState State

Protected Properties

Свойство Type Description
mTexture Microsoft.Xna.Framework.Graphics.Texture2D

Méthodes publiques

Méthode Description
AIComponent ( ) : System
DoAI ( GameTime gameTime ) : void
Draw ( SpriteBatch spriteBatch, Vector2 position ) : void
LoadContent ( ) : void
ResetAI ( ) : void

Method Details

AIComponent() public méthode

public AIComponent ( ) : System
Résultat System

DoAI() public méthode

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

Draw() public méthode

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

LoadContent() public méthode

public LoadContent ( ) : void
Résultat void

ResetAI() public méthode

public ResetAI ( ) : void
Résultat void

Property Details

CurrentState public_oe property

public State CurrentState
Résultat State

mTexture protected_oe property

protected Texture2D,Microsoft.Xna.Framework.Graphics mTexture
Résultat Microsoft.Xna.Framework.Graphics.Texture2D