C# Class Shooter.GameStates.GameStateManager

Afficher le fichier Open project: JoeyTheAsian/Just-Force

Méthodes publiques

Свойство Type Description
backButton Microsoft.Xna.Framework.Graphics.Texture2D
backButtonPosition Microsoft.Xna.Framework.Rectangle
caseBackground Microsoft.Xna.Framework.Graphics.Texture2D
closedBackground Microsoft.Xna.Framework.Graphics.Texture2D
controlBackButtonPosition Microsoft.Xna.Framework.Rectangle
controlButton Microsoft.Xna.Framework.Graphics.Texture2D
controlButtonPosition Microsoft.Xna.Framework.Rectangle
controls Microsoft.Xna.Framework.Graphics.Texture2D
deathBackground Microsoft.Xna.Framework.Graphics.Texture2D
exitButton Microsoft.Xna.Framework.Graphics.Texture2D
exitButtonPosition Microsoft.Xna.Framework.Rectangle
gameState string
graphicIcons List
graphicsButton Microsoft.Xna.Framework.Graphics.Texture2D
graphicsButtonPosition Microsoft.Xna.Framework.Rectangle
isLoading bool
lastState string
levelClears int[]
levelIcons List
levelRect List
levelSelectButton Microsoft.Xna.Framework.Graphics.Texture2D
levelSelectButtonPosition Microsoft.Xna.Framework.Rectangle
loadScreen Microsoft.Xna.Framework.Graphics.Texture2D
loadScreenPos Vector2
optionsButton Microsoft.Xna.Framework.Graphics.Texture2D
optionsButtonPosition Microsoft.Xna.Framework.Rectangle
resumeButton Microsoft.Xna.Framework.Graphics.Texture2D
resumeButtonPosition Microsoft.Xna.Framework.Rectangle
rightStartButton Microsoft.Xna.Framework.Rectangle
soundsButton Microsoft.Xna.Framework.Graphics.Texture2D
soundsButtonPosition Microsoft.Xna.Framework.Rectangle
startButton Microsoft.Xna.Framework.Graphics.Texture2D
startButtonPosition Microsoft.Xna.Framework.Rectangle
startMenuBackground Microsoft.Xna.Framework.Graphics.Texture2D
states List

Méthodes publiques

Méthode Description
CheckGameState ( ) : void
DrawLoad ( SpriteBatch sb ) : void
GameStateManager ( int screenWidth, int screenHeight, Microsoft.Xna.Framework.Content.ContentManager content, int curLvl ) : Microsoft.Xna.Framework
MouseClicked ( int x, int y, Game1 game, int &currentLevel, List &enemies, List &Items, List &projectiles, int &timer, Microsoft.Xna.Framework.Content.ContentManager Content, Character &player, string &wepUnl, bool &songPlaying, SoundEffectInstance &song ) : Rectangle
StartGame ( ) : void
saveLevelClears ( ) : void
updateState ( KeyboardState State, KeyboardState oldState, bool &songPlaying, SoundEffectInstance &song ) : bool

Method Details

CheckGameState() public méthode

public CheckGameState ( ) : void
Résultat void

DrawLoad() public méthode

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

GameStateManager() public méthode

public GameStateManager ( int screenWidth, int screenHeight, Microsoft.Xna.Framework.Content.ContentManager content, int curLvl ) : Microsoft.Xna.Framework
screenWidth int
screenHeight int
content Microsoft.Xna.Framework.Content.ContentManager
curLvl int
Résultat Microsoft.Xna.Framework

MouseClicked() public méthode

public MouseClicked ( int x, int y, Game1 game, int &currentLevel, List &enemies, List &Items, List &projectiles, int &timer, Microsoft.Xna.Framework.Content.ContentManager Content, Character &player, string &wepUnl, bool &songPlaying, SoundEffectInstance &song ) : Rectangle
x int
y int
game Game1
currentLevel int
enemies List
Items List
projectiles List
timer int
Content Microsoft.Xna.Framework.Content.ContentManager
player Shooter.Entities.Character
wepUnl string
songPlaying bool
song Microsoft.Xna.Framework.Audio.SoundEffectInstance
Résultat Microsoft.Xna.Framework.Rectangle

StartGame() public méthode

public StartGame ( ) : void
Résultat void

saveLevelClears() public méthode

public saveLevelClears ( ) : void
Résultat void

updateState() public méthode

public updateState ( KeyboardState State, KeyboardState oldState, bool &songPlaying, SoundEffectInstance &song ) : bool
State Microsoft.Xna.Framework.Input.KeyboardState
oldState Microsoft.Xna.Framework.Input.KeyboardState
songPlaying bool
song Microsoft.Xna.Framework.Audio.SoundEffectInstance
Résultat bool

Property Details

backButton public_oe property

public Texture2D,Microsoft.Xna.Framework.Graphics backButton
Résultat Microsoft.Xna.Framework.Graphics.Texture2D

backButtonPosition public_oe property

public Rectangle,Microsoft.Xna.Framework backButtonPosition
Résultat Microsoft.Xna.Framework.Rectangle

caseBackground public_oe property

public Texture2D,Microsoft.Xna.Framework.Graphics caseBackground
Résultat Microsoft.Xna.Framework.Graphics.Texture2D

closedBackground public_oe property

public Texture2D,Microsoft.Xna.Framework.Graphics closedBackground
Résultat Microsoft.Xna.Framework.Graphics.Texture2D

controlBackButtonPosition public_oe property

public Rectangle,Microsoft.Xna.Framework controlBackButtonPosition
Résultat Microsoft.Xna.Framework.Rectangle

controlButton public_oe property

public Texture2D,Microsoft.Xna.Framework.Graphics controlButton
Résultat Microsoft.Xna.Framework.Graphics.Texture2D

controlButtonPosition public_oe property

public Rectangle,Microsoft.Xna.Framework controlButtonPosition
Résultat Microsoft.Xna.Framework.Rectangle

controls public_oe property

public Texture2D,Microsoft.Xna.Framework.Graphics controls
Résultat Microsoft.Xna.Framework.Graphics.Texture2D

deathBackground public_oe property

public Texture2D,Microsoft.Xna.Framework.Graphics deathBackground
Résultat Microsoft.Xna.Framework.Graphics.Texture2D

exitButton public_oe property

public Texture2D,Microsoft.Xna.Framework.Graphics exitButton
Résultat Microsoft.Xna.Framework.Graphics.Texture2D

exitButtonPosition public_oe property

public Rectangle,Microsoft.Xna.Framework exitButtonPosition
Résultat Microsoft.Xna.Framework.Rectangle

gameState public_oe property

public string gameState
Résultat string

graphicIcons public_oe property

public List graphicIcons
Résultat List

graphicsButton public_oe property

public Texture2D,Microsoft.Xna.Framework.Graphics graphicsButton
Résultat Microsoft.Xna.Framework.Graphics.Texture2D

graphicsButtonPosition public_oe property

public Rectangle,Microsoft.Xna.Framework graphicsButtonPosition
Résultat Microsoft.Xna.Framework.Rectangle

isLoading public_oe property

public bool isLoading
Résultat bool

lastState public_oe property

public string lastState
Résultat string

levelClears public_oe property

public int[] levelClears
Résultat int[]

levelIcons public_oe property

public List levelIcons
Résultat List

levelRect public_oe property

public List levelRect
Résultat List

levelSelectButton public_oe property

public Texture2D,Microsoft.Xna.Framework.Graphics levelSelectButton
Résultat Microsoft.Xna.Framework.Graphics.Texture2D

levelSelectButtonPosition public_oe property

public Rectangle,Microsoft.Xna.Framework levelSelectButtonPosition
Résultat Microsoft.Xna.Framework.Rectangle

loadScreen public_oe property

public Texture2D,Microsoft.Xna.Framework.Graphics loadScreen
Résultat Microsoft.Xna.Framework.Graphics.Texture2D

loadScreenPos public_oe property

public Vector2 loadScreenPos
Résultat Vector2

optionsButton public_oe property

public Texture2D,Microsoft.Xna.Framework.Graphics optionsButton
Résultat Microsoft.Xna.Framework.Graphics.Texture2D

optionsButtonPosition public_oe property

public Rectangle,Microsoft.Xna.Framework optionsButtonPosition
Résultat Microsoft.Xna.Framework.Rectangle

resumeButton public_oe property

public Texture2D,Microsoft.Xna.Framework.Graphics resumeButton
Résultat Microsoft.Xna.Framework.Graphics.Texture2D

resumeButtonPosition public_oe property

public Rectangle,Microsoft.Xna.Framework resumeButtonPosition
Résultat Microsoft.Xna.Framework.Rectangle

rightStartButton public_oe property

public Rectangle,Microsoft.Xna.Framework rightStartButton
Résultat Microsoft.Xna.Framework.Rectangle

soundsButton public_oe property

public Texture2D,Microsoft.Xna.Framework.Graphics soundsButton
Résultat Microsoft.Xna.Framework.Graphics.Texture2D

soundsButtonPosition public_oe property

public Rectangle,Microsoft.Xna.Framework soundsButtonPosition
Résultat Microsoft.Xna.Framework.Rectangle

startButton public_oe property

public Texture2D,Microsoft.Xna.Framework.Graphics startButton
Résultat Microsoft.Xna.Framework.Graphics.Texture2D

startButtonPosition public_oe property

public Rectangle,Microsoft.Xna.Framework startButtonPosition
Résultat Microsoft.Xna.Framework.Rectangle

startMenuBackground public_oe property

public Texture2D,Microsoft.Xna.Framework.Graphics startMenuBackground
Résultat Microsoft.Xna.Framework.Graphics.Texture2D

states public_oe property

public List states
Résultat List