C# Class Blink.StateGame

Inheritance: GameState
Afficher le fichier Open project: dah6ce/Blink

Méthodes publiques

Свойство Type Description
Hit_Player_Sound Microsoft.Xna.Framework.Audio.SoundEffect
Hit_Wall_Sound Microsoft.Xna.Framework.Audio.SoundEffect
Stab_Sound Microsoft.Xna.Framework.Audio.SoundEffect
Throw_Sound Microsoft.Xna.Framework.Audio.SoundEffect
Win GameState
gameTime Microsoft.Xna.Framework.GameTime
levelSelect GameState
spearSprite Microsoft.Xna.Framework.Graphics.Texture2D

Méthodes publiques

Méthode Description
Draw ( SpriteBatch sb ) : void
GetTransition ( ) : GameState
Initialize ( ) : void
LoadContent ( Microsoft.Xna.Framework.Content.ContentManager Content ) : void
StateGame ( Vector2 screenSize ) : System
UnloadContent ( ) : void
Update ( GameTime gameTime ) : void
detectEndOfGame ( ) : void
detectWinner ( ) : void
informGame ( bool playersConnected, string playerChars, int charNums ) : void
setMaps ( mapSet map ) : void
winScore ( ) : int

Private Methods

Méthode Description
declareVictor ( PlayerClass victor ) : void
playerKilled ( Object sender, DeathEventArgs args ) : void
resetMap ( ) : void

Method Details

Draw() public méthode

public Draw ( SpriteBatch sb ) : void
sb Microsoft.Xna.Framework.Graphics.SpriteBatch
Résultat void

GetTransition() public méthode

public GetTransition ( ) : GameState
Résultat GameState

Initialize() public méthode

public Initialize ( ) : void
Résultat void

LoadContent() public méthode

public LoadContent ( Microsoft.Xna.Framework.Content.ContentManager Content ) : void
Content Microsoft.Xna.Framework.Content.ContentManager
Résultat void

StateGame() public méthode

public StateGame ( Vector2 screenSize ) : System
screenSize Vector2
Résultat System

UnloadContent() public méthode

public UnloadContent ( ) : void
Résultat void

Update() public méthode

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

detectEndOfGame() public méthode

public detectEndOfGame ( ) : void
Résultat void

detectWinner() public méthode

public detectWinner ( ) : void
Résultat void

informGame() public méthode

public informGame ( bool playersConnected, string playerChars, int charNums ) : void
playersConnected bool
playerChars string
charNums int
Résultat void

setMaps() public méthode

public setMaps ( mapSet map ) : void
map Blink.Classes.mapSet
Résultat void

winScore() public méthode

public winScore ( ) : int
Résultat int

Property Details

Hit_Player_Sound public_oe static_oe property

public static SoundEffect,Microsoft.Xna.Framework.Audio Hit_Player_Sound
Résultat Microsoft.Xna.Framework.Audio.SoundEffect

Hit_Wall_Sound public_oe static_oe property

public static SoundEffect,Microsoft.Xna.Framework.Audio Hit_Wall_Sound
Résultat Microsoft.Xna.Framework.Audio.SoundEffect

Stab_Sound public_oe static_oe property

public static SoundEffect,Microsoft.Xna.Framework.Audio Stab_Sound
Résultat Microsoft.Xna.Framework.Audio.SoundEffect

Throw_Sound public_oe static_oe property

public static SoundEffect,Microsoft.Xna.Framework.Audio Throw_Sound
Résultat Microsoft.Xna.Framework.Audio.SoundEffect

Win public_oe property

public GameState Win
Résultat GameState

gameTime public_oe static_oe property

public static GameTime,Microsoft.Xna.Framework gameTime
Résultat Microsoft.Xna.Framework.GameTime

levelSelect public_oe property

public GameState levelSelect
Résultat GameState

spearSprite public_oe static_oe property

public static Texture2D,Microsoft.Xna.Framework.Graphics spearSprite
Résultat Microsoft.Xna.Framework.Graphics.Texture2D