C# 클래스 RecordRobot.MovingObjects.Mover

파일 보기 프로젝트 열기: scastle/EECS290_Project1

공개 프로퍼티들

프로퍼티 타입 설명
AIChoice1 Direction
AIChoice2 Direction
Direction Direction
Position Point
Speed int
Texture Microsoft.Xna.Framework.Graphics.Texture2D

공개 메소드들

메소드 설명
Draw ( ) : void
Update ( ) : void
UpdatePosition ( ) : void

Updates the objects location based on the current direction.

메소드 상세

Draw() 공개 메소드

public Draw ( ) : void
리턴 void

Update() 공개 추상적인 메소드

public abstract Update ( ) : void
리턴 void

UpdatePosition() 공개 메소드

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

프로퍼티 상세

AIChoice1 공개적으로 프로퍼티

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

AIChoice2 공개적으로 프로퍼티

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

Direction 공개적으로 프로퍼티

The current direction the robot is moving.
public Direction Direction
리턴 Direction

Position 공개적으로 프로퍼티

The current location of the object.
public Point Position
리턴 Point

Speed 공개적으로 프로퍼티

The speed of the moving object.
public int Speed
리턴 int

Texture 공개적으로 프로퍼티

public Texture2D,Microsoft.Xna.Framework.Graphics Texture
리턴 Microsoft.Xna.Framework.Graphics.Texture2D