C# 클래스 Shooter.GameStates.GameStateManager

파일 보기 프로젝트 열기: JoeyTheAsian/Just-Force

공개 프로퍼티들

프로퍼티 타입 설명
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

공개 메소드들

메소드 설명
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

메소드 상세

CheckGameState() 공개 메소드

public CheckGameState ( ) : void
리턴 void

DrawLoad() 공개 메소드

public DrawLoad ( SpriteBatch sb ) : void
sb Microsoft.Xna.Framework.Graphics.SpriteBatch
리턴 void

GameStateManager() 공개 메소드

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
리턴 Microsoft.Xna.Framework

MouseClicked() 공개 메소드

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
리턴 Microsoft.Xna.Framework.Rectangle

StartGame() 공개 메소드

public StartGame ( ) : void
리턴 void

saveLevelClears() 공개 메소드

public saveLevelClears ( ) : void
리턴 void

updateState() 공개 메소드

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
리턴 bool

프로퍼티 상세

backButton 공개적으로 프로퍼티

public Texture2D,Microsoft.Xna.Framework.Graphics backButton
리턴 Microsoft.Xna.Framework.Graphics.Texture2D

backButtonPosition 공개적으로 프로퍼티

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

caseBackground 공개적으로 프로퍼티

public Texture2D,Microsoft.Xna.Framework.Graphics caseBackground
리턴 Microsoft.Xna.Framework.Graphics.Texture2D

closedBackground 공개적으로 프로퍼티

public Texture2D,Microsoft.Xna.Framework.Graphics closedBackground
리턴 Microsoft.Xna.Framework.Graphics.Texture2D

controlBackButtonPosition 공개적으로 프로퍼티

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

controlButton 공개적으로 프로퍼티

public Texture2D,Microsoft.Xna.Framework.Graphics controlButton
리턴 Microsoft.Xna.Framework.Graphics.Texture2D

controlButtonPosition 공개적으로 프로퍼티

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

controls 공개적으로 프로퍼티

public Texture2D,Microsoft.Xna.Framework.Graphics controls
리턴 Microsoft.Xna.Framework.Graphics.Texture2D

deathBackground 공개적으로 프로퍼티

public Texture2D,Microsoft.Xna.Framework.Graphics deathBackground
리턴 Microsoft.Xna.Framework.Graphics.Texture2D

exitButton 공개적으로 프로퍼티

public Texture2D,Microsoft.Xna.Framework.Graphics exitButton
리턴 Microsoft.Xna.Framework.Graphics.Texture2D

exitButtonPosition 공개적으로 프로퍼티

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

gameState 공개적으로 프로퍼티

public string gameState
리턴 string

graphicIcons 공개적으로 프로퍼티

public List graphicIcons
리턴 List

graphicsButton 공개적으로 프로퍼티

public Texture2D,Microsoft.Xna.Framework.Graphics graphicsButton
리턴 Microsoft.Xna.Framework.Graphics.Texture2D

graphicsButtonPosition 공개적으로 프로퍼티

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

isLoading 공개적으로 프로퍼티

public bool isLoading
리턴 bool

lastState 공개적으로 프로퍼티

public string lastState
리턴 string

levelClears 공개적으로 프로퍼티

public int[] levelClears
리턴 int[]

levelIcons 공개적으로 프로퍼티

public List levelIcons
리턴 List

levelRect 공개적으로 프로퍼티

public List levelRect
리턴 List

levelSelectButton 공개적으로 프로퍼티

public Texture2D,Microsoft.Xna.Framework.Graphics levelSelectButton
리턴 Microsoft.Xna.Framework.Graphics.Texture2D

levelSelectButtonPosition 공개적으로 프로퍼티

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

loadScreen 공개적으로 프로퍼티

public Texture2D,Microsoft.Xna.Framework.Graphics loadScreen
리턴 Microsoft.Xna.Framework.Graphics.Texture2D

loadScreenPos 공개적으로 프로퍼티

public Vector2 loadScreenPos
리턴 Vector2

optionsButton 공개적으로 프로퍼티

public Texture2D,Microsoft.Xna.Framework.Graphics optionsButton
리턴 Microsoft.Xna.Framework.Graphics.Texture2D

optionsButtonPosition 공개적으로 프로퍼티

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

resumeButton 공개적으로 프로퍼티

public Texture2D,Microsoft.Xna.Framework.Graphics resumeButton
리턴 Microsoft.Xna.Framework.Graphics.Texture2D

resumeButtonPosition 공개적으로 프로퍼티

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

rightStartButton 공개적으로 프로퍼티

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

soundsButton 공개적으로 프로퍼티

public Texture2D,Microsoft.Xna.Framework.Graphics soundsButton
리턴 Microsoft.Xna.Framework.Graphics.Texture2D

soundsButtonPosition 공개적으로 프로퍼티

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

startButton 공개적으로 프로퍼티

public Texture2D,Microsoft.Xna.Framework.Graphics startButton
리턴 Microsoft.Xna.Framework.Graphics.Texture2D

startButtonPosition 공개적으로 프로퍼티

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

startMenuBackground 공개적으로 프로퍼티

public Texture2D,Microsoft.Xna.Framework.Graphics startMenuBackground
리턴 Microsoft.Xna.Framework.Graphics.Texture2D

states 공개적으로 프로퍼티

public List states
리턴 List