C# 클래스 ZombieShooter.Game

상속: Microsoft.Xna.Framework.Game
파일 보기 프로젝트 열기: Spectrewiz/Zombie-Shooter 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
camera Camera
cursor Obj
graphics GraphicsDeviceManager
spriteFont Microsoft.Xna.Framework.Graphics.SpriteFont
stage Microsoft.Xna.Framework.Rectangle
t Thread[]

보호된 프로퍼티들

프로퍼티 타입 설명
gameState GameState

공개 메소드들

메소드 설명
Game ( ) : System
getCameraPosition ( ) : Vector2
getCursorPosition ( ) : Vector2
getGameState ( ) : GameState
switchGameState ( GameState newGameState ) : void
switchGameState ( int index ) : void

보호된 메소드들

메소드 설명
Draw ( GameTime gameTime ) : void
Initialize ( ) : void
LoadContent ( ) : void
UnloadContent ( ) : void
Update ( GameTime gameTime ) : void

메소드 상세

Draw() 보호된 메소드

protected Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
리턴 void

Game() 공개 메소드

public Game ( ) : System
리턴 System

Initialize() 보호된 메소드

protected Initialize ( ) : void
리턴 void

LoadContent() 보호된 메소드

protected LoadContent ( ) : void
리턴 void

UnloadContent() 보호된 메소드

protected UnloadContent ( ) : void
리턴 void

Update() 보호된 메소드

protected Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
리턴 void

getCameraPosition() 공개 정적인 메소드

public static getCameraPosition ( ) : Vector2
리턴 Vector2

getCursorPosition() 공개 정적인 메소드

public static getCursorPosition ( ) : Vector2
리턴 Vector2

getGameState() 공개 정적인 메소드

public static getGameState ( ) : GameState
리턴 GameState

switchGameState() 공개 정적인 메소드

public static switchGameState ( GameState newGameState ) : void
newGameState GameState
리턴 void

switchGameState() 공개 정적인 메소드

public static switchGameState ( int index ) : void
index int
리턴 void

프로퍼티 상세

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

public static Camera,ZombieShooter camera
리턴 Camera

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

public static Obj,ZombieShooter cursor
리턴 Obj

gameState 보호되어 있는 정적으로 프로퍼티

protected static GameState gameState
리턴 GameState

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

public static GraphicsDeviceManager graphics
리턴 GraphicsDeviceManager

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

public static SpriteFont,Microsoft.Xna.Framework.Graphics spriteFont
리턴 Microsoft.Xna.Framework.Graphics.SpriteFont

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

public static Rectangle,Microsoft.Xna.Framework stage
리턴 Microsoft.Xna.Framework.Rectangle

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

public static Thread[] t
리턴 Thread[]