C# 클래스 CastleEscape.Overworld

The overworld state. Authors: Dennis Honeyman Matt Munns Allyson Sadwin
상속: State
파일 보기 프로젝트 열기: Daminvar/CastleEscape

공개 메소드들

메소드 설명
Draw ( SpriteBatch spriteBatch ) : void
Overworld ( Microsoft.Xna.Framework.Game game, Player player, DrawableMap map ) : System
Pause ( ) : void
RandomEncounter ( int steps ) : bool
Resume ( ) : void
StartBattle ( int ped ) : void
Update ( GameTime gameTime ) : void

비공개 메소드들

메소드 설명
handleInput ( GameTime gameTime ) : void

Handles the keyboard input by the player to move the character sprite onscreen. Also checks for collisions.

메소드 상세

Draw() 공개 메소드

public Draw ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
리턴 void

Overworld() 공개 메소드

public Overworld ( Microsoft.Xna.Framework.Game game, Player player, DrawableMap map ) : System
game Microsoft.Xna.Framework.Game
player Player
map DrawableMap
리턴 System

Pause() 공개 메소드

public Pause ( ) : void
리턴 void

RandomEncounter() 공개 메소드

public RandomEncounter ( int steps ) : bool
steps int
리턴 bool

Resume() 공개 메소드

public Resume ( ) : void
리턴 void

StartBattle() 공개 메소드

public StartBattle ( int ped ) : void
ped int
리턴 void

Update() 공개 메소드

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
리턴 void