C# Class Drought.GameStates.LevelState

Inheritance: Drought.State.GameState
Afficher le fichier Open project: kiniry-teaching/UCD

Méthodes publiques

Свойство Type Description
camera Drought.World.Camera

Protected Properties

Свойство Type Description
rain Drought.Graphics.PlaneParticleEmitter
sun Drought.World.Sun

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
initializeEntities ( ) : void
randomFirePosition ( ) : Vector3
updateInput ( ) : void
updateParticles ( GameTime gameTime ) : void
updateUnitInput ( ) : void
updateUnits ( ) : void

Method Details

LevelState() public méthode

public LevelState ( IStateManager manager, DroughtGame game, Level aLevel ) : System
manager IStateManager
game DroughtGame
aLevel Level
Résultat System

background() public méthode

public background ( ) : void
Résultat void

foreground() public méthode

public foreground ( ) : void
Résultat void

loadContent() public méthode

public loadContent ( ) : void
Résultat void

render() public méthode

public render ( GameTime gameTime, GraphicsDevice graphics, SpriteBatch spriteBatch ) : void
gameTime Microsoft.Xna.Framework.GameTime
graphics GraphicsDevice
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
Résultat void

selectAllUnits() public méthode

public selectAllUnits ( ) : void
Résultat void

update() public méthode

public update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void

Property Details

camera public_oe property

public Camera,Drought.World camera
Résultat Drought.World.Camera

rain protected_oe property

protected PlaneParticleEmitter,Drought.Graphics rain
Résultat Drought.Graphics.PlaneParticleEmitter

sun protected_oe property

protected Sun,Drought.World sun
Résultat Drought.World.Sun