C# 클래스 Infiniminer.States.MainGameState

상속: StateMasher.State
파일 보기 프로젝트 열기: bobisfat/Infiniminer

공개 메소드들

메소드 설명
Lightsource ( Vector3 &src, int intensity ) : void
OnCharEntered ( EventInput e ) : void
OnEnter ( string oldState ) : void
OnKeyDown ( Keys key ) : void
OnKeyUp ( Keys key ) : void
OnLeave ( string newState ) : void
OnMouseDown ( MouseButton button, int x, int y ) : void
OnMouseScroll ( int scrollDelta ) : void
OnMouseUp ( MouseButton button, int x, int y ) : void
OnRenderAtEnter ( GraphicsDevice graphicsDevice ) : void
OnRenderAtUpdate ( GraphicsDevice graphicsDevice, GameTime gameTime ) : void
OnUpdate ( GameTime gameTime, KeyboardState keyState, Microsoft.Xna.Framework.Input.MouseState mouseState ) : string

비공개 메소드들

메소드 설명
HandleInput ( Buttons input ) : void
TryToMoveTo ( Vector3 moveVector, GameTime gameTime ) : bool
UpdatePlayerPosition ( GameTime gameTime, KeyboardState keyState ) : void

메소드 상세

Lightsource() 공개 메소드

public Lightsource ( Vector3 &src, int intensity ) : void
src Vector3
intensity int
리턴 void

OnCharEntered() 공개 메소드

public OnCharEntered ( EventInput e ) : void
e EventInput
리턴 void

OnEnter() 공개 메소드

public OnEnter ( string oldState ) : void
oldState string
리턴 void

OnKeyDown() 공개 메소드

public OnKeyDown ( Keys key ) : void
key Keys
리턴 void

OnKeyUp() 공개 메소드

public OnKeyUp ( Keys key ) : void
key Keys
리턴 void

OnLeave() 공개 메소드

public OnLeave ( string newState ) : void
newState string
리턴 void

OnMouseDown() 공개 메소드

public OnMouseDown ( MouseButton button, int x, int y ) : void
button MouseButton
x int
y int
리턴 void

OnMouseScroll() 공개 메소드

public OnMouseScroll ( int scrollDelta ) : void
scrollDelta int
리턴 void

OnMouseUp() 공개 메소드

public OnMouseUp ( MouseButton button, int x, int y ) : void
button MouseButton
x int
y int
리턴 void

OnRenderAtEnter() 공개 메소드

public OnRenderAtEnter ( GraphicsDevice graphicsDevice ) : void
graphicsDevice GraphicsDevice
리턴 void

OnRenderAtUpdate() 공개 메소드

public OnRenderAtUpdate ( GraphicsDevice graphicsDevice, GameTime gameTime ) : void
graphicsDevice GraphicsDevice
gameTime Microsoft.Xna.Framework.GameTime
리턴 void

OnUpdate() 공개 메소드

public OnUpdate ( GameTime gameTime, KeyboardState keyState, Microsoft.Xna.Framework.Input.MouseState mouseState ) : string
gameTime Microsoft.Xna.Framework.GameTime
keyState Microsoft.Xna.Framework.Input.KeyboardState
mouseState Microsoft.Xna.Framework.Input.MouseState
리턴 string