C# 클래스 CannonGame.GameState

파일 보기 프로젝트 열기: obcilion/xnaKanonSpill 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
CurrentGameStateIndex int

보호된 프로퍼티들

프로퍼티 타입 설명
Content Microsoft.Xna.Framework.Content.ContentManager
Frameinfo FrameInfo
SpriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch

공개 메소드들

메소드 설명
Draw ( ) : void
GameState ( SpriteBatch spriteBatch, Microsoft.Xna.Framework.Content.ContentManager content, int currnetGameStateIndex ) : System
Reset ( ) : void
Update ( ) : void

메소드 상세

Draw() 공개 메소드

public Draw ( ) : void
리턴 void

GameState() 공개 메소드

public GameState ( SpriteBatch spriteBatch, Microsoft.Xna.Framework.Content.ContentManager content, int currnetGameStateIndex ) : System
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
content Microsoft.Xna.Framework.Content.ContentManager
currnetGameStateIndex int
리턴 System

Reset() 공개 메소드

public Reset ( ) : void
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

프로퍼티 상세

Content 보호되어 있는 프로퍼티

protected ContentManager,Microsoft.Xna.Framework.Content Content
리턴 Microsoft.Xna.Framework.Content.ContentManager

CurrentGameStateIndex 공개적으로 프로퍼티

public int CurrentGameStateIndex
리턴 int

Frameinfo 보호되어 있는 프로퍼티

protected FrameInfo,CannonGame Frameinfo
리턴 FrameInfo

SpriteBatch 보호되어 있는 프로퍼티

protected SpriteBatch,Microsoft.Xna.Framework.Graphics SpriteBatch
리턴 Microsoft.Xna.Framework.Graphics.SpriteBatch