C# 클래스 Drought.GameStates.LevelState

상속: Drought.State.GameState
파일 보기 프로젝트 열기: kiniry-teaching/UCD

공개 프로퍼티들

프로퍼티 타입 설명
camera Drought.World.Camera

보호된 프로퍼티들

프로퍼티 타입 설명
rain Drought.Graphics.PlaneParticleEmitter
sun Drought.World.Sun

공개 메소드들

메소드 설명
LevelState ( IStateManager manager, DroughtGame game, Level aLevel ) : System
background ( ) : void
foreground ( ) : void
loadContent ( ) : void
render ( GameTime gameTime, GraphicsDevice graphics, SpriteBatch spriteBatch ) : void
selectAllUnits ( ) : void
update ( GameTime gameTime ) : void

비공개 메소드들

메소드 설명
initializeEntities ( ) : void
randomFirePosition ( ) : Vector3
updateInput ( ) : void
updateParticles ( GameTime gameTime ) : void
updateUnitInput ( ) : void
updateUnits ( ) : void

메소드 상세

LevelState() 공개 메소드

public LevelState ( IStateManager manager, DroughtGame game, Level aLevel ) : System
manager IStateManager
game DroughtGame
aLevel Level
리턴 System

background() 공개 메소드

public background ( ) : void
리턴 void

foreground() 공개 메소드

public foreground ( ) : void
리턴 void

loadContent() 공개 메소드

public loadContent ( ) : void
리턴 void

render() 공개 메소드

public render ( GameTime gameTime, GraphicsDevice graphics, SpriteBatch spriteBatch ) : void
gameTime Microsoft.Xna.Framework.GameTime
graphics GraphicsDevice
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
리턴 void

selectAllUnits() 공개 메소드

public selectAllUnits ( ) : void
리턴 void

update() 공개 메소드

public update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
리턴 void

프로퍼티 상세

camera 공개적으로 프로퍼티

public Camera,Drought.World camera
리턴 Drought.World.Camera

rain 보호되어 있는 프로퍼티

protected PlaneParticleEmitter,Drought.Graphics rain
리턴 Drought.Graphics.PlaneParticleEmitter

sun 보호되어 있는 프로퍼티

protected Sun,Drought.World sun
리턴 Drought.World.Sun