C# Class RecordRobot.MovingObjects.Mover

显示文件 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_oe property

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

AIChoice2 public_oe property

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

Direction public_oe property

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

Position public_oe property

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

Speed public_oe property

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

Texture public_oe property

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