C# Class RecordRobot.MovingObjects.Mover

Show file Open project: scastle/EECS290_Project1

Public Properties

Property Type Description
AIChoice1 Direction
AIChoice2 Direction
Direction Direction
Position Point
Speed int
Texture Microsoft.Xna.Framework.Graphics.Texture2D

Public Methods

Method Description
Draw ( ) : void
Update ( ) : void
UpdatePosition ( ) : void

Updates the objects location based on the current direction.

Method Details

Draw() public method

public Draw ( ) : void
return void

Update() public abstract method

public abstract Update ( ) : void
return void

UpdatePosition() public method

Updates the objects location based on the current direction.
public UpdatePosition ( ) : void
return void

Property Details

AIChoice1 public property

The direction the grey record will choose to go to chase the robot.
public Direction AIChoice1
return Direction

AIChoice2 public property

The direction the grey record will choose to go to chase the robot.
public Direction AIChoice2
return Direction

Direction public property

The current direction the robot is moving.
public Direction Direction
return Direction

Position public property

The current location of the object.
public Point Position
return Point

Speed public property

The speed of the moving object.
public int Speed
return int

Texture public property

public Texture2D,Microsoft.Xna.Framework.Graphics Texture
return Microsoft.Xna.Framework.Graphics.Texture2D