C# 클래스 Defend_your_home.UI.Label

상속: IGraphicsControl
파일 보기 프로젝트 열기: MandragoraStudio/Defend-your-home 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
color Color
font Microsoft.Xna.Framework.Graphics.SpriteFont
position Vector2
text string
textSize Vector2

공개 메소드들

메소드 설명
Draw ( SpriteBatch spriteBatch ) : void
Label ( string text, SpriteFont font, Vector2 position ) : System
Update ( ) : void

메소드 상세

Draw() 공개 메소드

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

Label() 공개 메소드

public Label ( string text, SpriteFont font, Vector2 position ) : System
text string
font Microsoft.Xna.Framework.Graphics.SpriteFont
position Vector2
리턴 System

Update() 공개 메소드

public Update ( ) : void
리턴 void

프로퍼티 상세

color 보호되어 있는 프로퍼티

protected Color color
리턴 Color

font 보호되어 있는 프로퍼티

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

position 보호되어 있는 프로퍼티

protected Vector2 position
리턴 Vector2

text 보호되어 있는 프로퍼티

protected string text
리턴 string

textSize 보호되어 있는 프로퍼티

protected Vector2 textSize
리턴 Vector2