C# 클래스 CannonGame.GameLevel

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

공개 프로퍼티들

프로퍼티 타입 설명
Instance GameLevel
badBall Ball
badCannon Cannon
niceBall Ball
niceCannon Cannon
score int
shoot Microsoft.Xna.Framework.Rectangle
target Target

보호된 프로퍼티들

프로퍼티 타입 설명
Objects List

공개 메소드들

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

메소드 상세

Draw() 공개 메소드

public Draw ( ) : void
리턴 void

GameLevel() 공개 메소드

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

Reset() 공개 메소드

public Reset ( ) : void
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void

프로퍼티 상세

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

public static GameLevel,CannonGame Instance
리턴 GameLevel

Objects 보호되어 있는 프로퍼티

protected List Objects
리턴 List

badBall 공개적으로 프로퍼티

public Ball,CannonGame badBall
리턴 Ball

badCannon 공개적으로 프로퍼티

public Cannon,CannonGame badCannon
리턴 Cannon

niceBall 공개적으로 프로퍼티

public Ball,CannonGame niceBall
리턴 Ball

niceCannon 공개적으로 프로퍼티

public Cannon,CannonGame niceCannon
리턴 Cannon

score 공개적으로 프로퍼티

public int score
리턴 int

shoot 공개적으로 프로퍼티

public Rectangle,Microsoft.Xna.Framework shoot
리턴 Microsoft.Xna.Framework.Rectangle

target 공개적으로 프로퍼티

public Target,CannonGame target
리턴 Target