C# 클래스 Divine_Right.GameScreens.WorldGenerationScreen

상속: Microsoft.Xna.Framework.DrawableGameComponent
파일 보기 프로젝트 열기: Haedrian/Divine-Right

보호된 프로퍼티들

프로퍼티 타입 설명
centrePoint MapCoordinate
game Microsoft.Xna.Framework.Game
graphics GraphicsDeviceManager
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch

Private Properties

프로퍼티 타입 설명
PrepareGrid List

공개 메소드들

메소드 설명
Draw ( GameTime gameTime ) : void
Initialize ( ) : void
Update ( GameTime gameTime ) : void
WorldGenerationScreen ( Microsoft.Xna.Framework.Game game, GraphicsDeviceManager graphics ) : System

보호된 메소드들

메소드 설명
DrawGrid ( IEnumerable blocks ) : void

Draws the prepared grid onto the screen

LoadContent ( ) : void

비공개 메소드들

메소드 설명
PrepareGrid ( List blocks ) : List

Prepares the grid for drawing by converting the graphical blocks into interface blocks and giving them the coordinates required.

메소드 상세

Draw() 공개 메소드

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

DrawGrid() 보호된 메소드

Draws the prepared grid onto the screen
protected DrawGrid ( IEnumerable blocks ) : void
blocks IEnumerable
리턴 void

Initialize() 공개 메소드

public Initialize ( ) : void
리턴 void

LoadContent() 보호된 메소드

protected LoadContent ( ) : void
리턴 void

Update() 공개 메소드

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

WorldGenerationScreen() 공개 메소드

public WorldGenerationScreen ( Microsoft.Xna.Framework.Game game, GraphicsDeviceManager graphics ) : System
game Microsoft.Xna.Framework.Game
graphics GraphicsDeviceManager
리턴 System

프로퍼티 상세

centrePoint 보호되어 있는 프로퍼티

protected MapCoordinate centrePoint
리턴 MapCoordinate

game 보호되어 있는 프로퍼티

protected Game,Microsoft.Xna.Framework game
리턴 Microsoft.Xna.Framework.Game

graphics 보호되어 있는 프로퍼티

protected GraphicsDeviceManager graphics
리턴 GraphicsDeviceManager

spriteBatch 보호되어 있는 프로퍼티

protected SpriteBatch,Microsoft.Xna.Framework.Graphics spriteBatch
리턴 Microsoft.Xna.Framework.Graphics.SpriteBatch