C# 클래스 CastleEscape.TextMenu

Allows the user to select from a list of options. Author: Dennis Honeyman
파일 보기 프로젝트 열기: Daminvar/CastleEscape 1 사용 예제들

공개 메소드들

메소드 설명
Draw ( SpriteBatch spriteBatch, int x, int y, Color textColor ) : void
TextMenu ( SpriteFont font, string options ) : System
Update ( GameTime gameTime, KeyboardState state ) : void

메소드 상세

Draw() 공개 메소드

public Draw ( SpriteBatch spriteBatch, int x, int y, Color textColor ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
x int
y int
textColor Color
리턴 void

TextMenu() 공개 메소드

public TextMenu ( SpriteFont font, string options ) : System
font Microsoft.Xna.Framework.Graphics.SpriteFont
options string
리턴 System

Update() 공개 메소드

public Update ( GameTime gameTime, KeyboardState state ) : void
gameTime Microsoft.Xna.Framework.GameTime
state Microsoft.Xna.Framework.Input.KeyboardState
리턴 void