C# 클래스 FontEffectsLib.FontTypes.GameFont

상속: FontEffectsLib.CoreTypes.BaseGameObject
파일 보기 프로젝트 열기: GreatMindsRobotics/FontEffectsLib 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
_font Microsoft.Xna.Framework.Graphics.SpriteFont
_text StringBuilder

공개 메소드들

메소드 설명
Draw ( SpriteBatch spriteBatch ) : void
GameFont ( SpriteFont font, String text, Vector2 position, Color tintColor ) : System
GameFont ( SpriteFont font, Vector2 position, Color tintColor ) : System
SetCenterAsOrigin ( ) : void
Update ( GameTime gameTime ) : void

메소드 상세

Draw() 공개 메소드

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

GameFont() 공개 메소드

public GameFont ( SpriteFont font, String text, Vector2 position, Color tintColor ) : System
font Microsoft.Xna.Framework.Graphics.SpriteFont
text String
position Vector2
tintColor Color
리턴 System

GameFont() 공개 메소드

public GameFont ( SpriteFont font, Vector2 position, Color tintColor ) : System
font Microsoft.Xna.Framework.Graphics.SpriteFont
position Vector2
tintColor Color
리턴 System

SetCenterAsOrigin() 공개 메소드

public SetCenterAsOrigin ( ) : void
리턴 void

Update() 공개 메소드

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

프로퍼티 상세

_font 보호되어 있는 프로퍼티

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

_text 보호되어 있는 프로퍼티

protected StringBuilder _text
리턴 StringBuilder