C# 클래스 SpaceShipDemo.AsteroidManager

상속: Behavior
파일 보기 프로젝트 열기: WaveEngine/Series

Private Properties

프로퍼티 타입 설명
CreateAsteroid System.Entity
CreateAsteroids System.Entity
CreateAsteroids void
GameOver void
ShowAsteroid void

공개 메소드들

메소드 설명
AsteroidManager ( ) : System

Initializes a new instance of the AsteroidManager class.

Reset ( ) : void

Resets the asteroid field.

보호된 메소드들

메소드 설명
Initialize ( ) : void

Initializes this instance.

Update ( System.TimeSpan gameTime ) : void

Updates the specified game time.

비공개 메소드들

메소드 설명
CreateAsteroid ( int i ) : System.Entity

Creates the asteroid.

CreateAsteroids ( int i ) : System.Entity
CreateAsteroids ( ) : void

Creates the asteroids.

GameOver ( ) : void

Game over event.

ShowAsteroid ( ) : void

Shows the next asteroid.

메소드 상세

AsteroidManager() 공개 메소드

Initializes a new instance of the AsteroidManager class.
public AsteroidManager ( ) : System
리턴 System

Initialize() 보호된 메소드

Initializes this instance.
protected Initialize ( ) : void
리턴 void

Reset() 공개 메소드

Resets the asteroid field.
public Reset ( ) : void
리턴 void

Update() 보호된 메소드

Updates the specified game time.
protected Update ( System.TimeSpan gameTime ) : void
gameTime System.TimeSpan The game time.
리턴 void