C# 클래스 Swordening.InGame

상속: GameState
파일 보기 프로젝트 열기: ArghyV/Peliohjelmointi-s2011 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
camera CameraAndLights
liveGrid LiveGrid
mapGrid MapGrid

공개 메소드들

메소드 설명
Draw ( GameTime gameTime ) : void

Draw the in-game GUI.

InGame ( SwordeningGame game ) : System
Initialize ( ) : void

Allows the game component to perform any initialization it needs to before starting to run. This is where it can query for any required services and load content.

Update ( GameTime gameTime ) : void

Allows the game component to update itself.

보호된 메소드들

메소드 설명
LoadContent ( ) : void
ProcessKeyboardInput ( GameTime gameTime ) : void

Reads and processes the input from the keyboard.

ProcessMouseInput ( GameTime gameTime ) : void

Reads and processes the input from the keyboard.

비공개 메소드들

메소드 설명
AddEnemy ( ) : void
UpdateCamera ( ) : void

Updates the camera's position to look at the player.

메소드 상세

Draw() 공개 메소드

Draw the in-game GUI.
public Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
리턴 void

InGame() 공개 메소드

public InGame ( SwordeningGame game ) : System
game SwordeningGame
리턴 System

Initialize() 공개 메소드

Allows the game component to perform any initialization it needs to before starting to run. This is where it can query for any required services and load content.
public Initialize ( ) : void
리턴 void

LoadContent() 보호된 메소드

protected LoadContent ( ) : void
리턴 void

ProcessKeyboardInput() 보호된 메소드

Reads and processes the input from the keyboard.
protected ProcessKeyboardInput ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
리턴 void

ProcessMouseInput() 보호된 메소드

Reads and processes the input from the keyboard.
protected ProcessMouseInput ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
리턴 void

Update() 공개 메소드

Allows the game component to update itself.
public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime Provides a snapshot of timing values.
리턴 void

프로퍼티 상세

camera 공개적으로 프로퍼티

public CameraAndLights,Swordening camera
리턴 CameraAndLights

liveGrid 공개적으로 프로퍼티

public LiveGrid,Swordening liveGrid
리턴 LiveGrid

mapGrid 공개적으로 프로퍼티

public MapGrid,Swordening mapGrid
리턴 MapGrid