C# 클래스 Project290.Rendering.FontStatic

Used for keeping a list of all active fonts in the game.
파일 보기 프로젝트 열기: scastle/Solitude 1 사용 예제들

공개 메소드들

메소드 설명
Get ( string fontName ) : SpriteFont

Gets the specified font, and returns the corresponding SpriteFont.

Load ( string fontName, string directory ) : void

Loads a font, and matches it to the specified font name for easy use later.

메소드 상세

Get() 공개 정적인 메소드

Gets the specified font, and returns the corresponding SpriteFont.
public static Get ( string fontName ) : SpriteFont
fontName string Name of the font.
리턴 Microsoft.Xna.Framework.Graphics.SpriteFont

Load() 공개 정적인 메소드

Loads a font, and matches it to the specified font name for easy use later.
public static Load ( string fontName, string directory ) : void
fontName string
directory string
리턴 void