C# 클래스 RecordRobot.MovingObjects.MovingObjectManager

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

공개 프로퍼티들

프로퍼티 타입 설명
GameOver bool
GameWin bool
NewLevel bool
Objects List
nextColor RecordColor

공개 메소드들

메소드 설명
AIChangeDirection ( RecordColor c ) : void
CheckCollisions ( ) : IEnumerable
Draw ( ) : void

Draws all moving objects

GetRelativePosition ( RecordColor c ) : Point
NextLevel ( ) : void
SetRelativeDirection ( RecordColor color ) : void
Update ( ) : void

Updates the positions and statuses of all moving objects

비공개 메소드들

메소드 설명
InitializeObjects ( ) : void

Adds all initial moving objects to the Objects list

메소드 상세

AIChangeDirection() 공개 정적인 메소드

public static AIChangeDirection ( RecordColor c ) : void
c RecordColor
리턴 void

CheckCollisions() 공개 정적인 메소드

public static CheckCollisions ( ) : IEnumerable
리턴 IEnumerable

Draw() 공개 정적인 메소드

Draws all moving objects
public static Draw ( ) : void
리턴 void

GetRelativePosition() 공개 정적인 메소드

public static GetRelativePosition ( RecordColor c ) : Point
c RecordColor
리턴 Point

NextLevel() 공개 정적인 메소드

public static NextLevel ( ) : void
리턴 void

SetRelativeDirection() 공개 정적인 메소드

public static SetRelativeDirection ( RecordColor color ) : void
color RecordColor
리턴 void

Update() 공개 정적인 메소드

Updates the positions and statuses of all moving objects
public static Update ( ) : void
리턴 void

프로퍼티 상세

GameOver 공개적으로 정적으로 프로퍼티

public static bool GameOver
리턴 bool

GameWin 공개적으로 정적으로 프로퍼티

public static bool GameWin
리턴 bool

NewLevel 공개적으로 정적으로 프로퍼티

public static bool NewLevel
리턴 bool

Objects 공개적으로 정적으로 프로퍼티

All moving objects to be updated and drawn are placed in this list.
public static List Objects
리턴 List

nextColor 공개적으로 정적으로 프로퍼티

public static RecordColor nextColor
리턴 RecordColor