C# Class RecordRobot.MovingObjects.Mover

Afficher le fichier Open project: scastle/EECS290_Project1

Méthodes publiques

Свойство Type Description
AIChoice1 Direction
AIChoice2 Direction
Direction Direction
Position Point
Speed int
Texture Microsoft.Xna.Framework.Graphics.Texture2D

Méthodes publiques

Méthode Description
Draw ( ) : void
Update ( ) : void
UpdatePosition ( ) : void

Updates the objects location based on the current direction.

Method Details

Draw() public méthode

public Draw ( ) : void
Résultat void

Update() public abstract méthode

public abstract Update ( ) : void
Résultat void

UpdatePosition() public méthode

Updates the objects location based on the current direction.
public UpdatePosition ( ) : void
Résultat void

Property Details

AIChoice1 public_oe property

The direction the grey record will choose to go to chase the robot.
public Direction AIChoice1
Résultat Direction

AIChoice2 public_oe property

The direction the grey record will choose to go to chase the robot.
public Direction AIChoice2
Résultat Direction

Direction public_oe property

The current direction the robot is moving.
public Direction Direction
Résultat Direction

Position public_oe property

The current location of the object.
public Point Position
Résultat Point

Speed public_oe property

The speed of the moving object.
public int Speed
Résultat int

Texture public_oe property

public Texture2D,Microsoft.Xna.Framework.Graphics Texture
Résultat Microsoft.Xna.Framework.Graphics.Texture2D