C# 클래스 SunsetHigh.TextPanel

상속: Panel, IMessagePanel
파일 보기 프로젝트 열기: ErraticUnicorn/MOSH 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
font Microsoft.Xna.Framework.Graphics.SpriteFont

공개 메소드들

메소드 설명
TextPanel ( ) : System
TextPanel ( int x, int y, int width, int height ) : System
TextPanel ( int x, int y, int width, int height, string message ) : System
draw ( SpriteBatch sb ) : void
getMessage ( ) : string
getMessageColor ( ) : Color
loadContent ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
onConfirm ( ) : void
setMessage ( string message ) : void
setMessageColor ( Color color ) : void

메소드 상세

TextPanel() 공개 메소드

public TextPanel ( ) : System
리턴 System

TextPanel() 공개 메소드

public TextPanel ( int x, int y, int width, int height ) : System
x int
y int
width int
height int
리턴 System

TextPanel() 공개 메소드

public TextPanel ( int x, int y, int width, int height, string message ) : System
x int
y int
width int
height int
message string
리턴 System

draw() 공개 메소드

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

getMessage() 공개 메소드

public getMessage ( ) : string
리턴 string

getMessageColor() 공개 메소드

public getMessageColor ( ) : Color
리턴 Color

loadContent() 공개 메소드

public loadContent ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
content Microsoft.Xna.Framework.Content.ContentManager
리턴 void

onConfirm() 공개 메소드

public onConfirm ( ) : void
리턴 void

setMessage() 공개 메소드

public setMessage ( string message ) : void
message string
리턴 void

setMessageColor() 공개 메소드

public setMessageColor ( Color color ) : void
color Color
리턴 void

프로퍼티 상세

font 보호되어 있는 프로퍼티

protected SpriteFont,Microsoft.Xna.Framework.Graphics font
리턴 Microsoft.Xna.Framework.Graphics.SpriteFont