C# 클래스 LevelEditor.ContentManager

파일 보기 프로젝트 열기: sgdc/sgdc-old

공개 프로퍼티들

프로퍼티 타입 설명
Textures Texture2D>.Dictionary

공개 메소드들

메소드 설명
AddFont ( string name, SpriteFont font ) : void
AddTexture ( string name, Microsoft.Xna.Framework.Graphics.Texture2D texture ) : void
ContentManager ( ) : System
GetFont ( string name ) : SpriteFont
GetTexture ( string name ) : Microsoft.Xna.Framework.Graphics.Texture2D
Initialize ( ) : void

메소드 상세

AddFont() 공개 정적인 메소드

public static AddFont ( string name, SpriteFont font ) : void
name string
font Microsoft.Xna.Framework.Graphics.SpriteFont
리턴 void

AddTexture() 공개 정적인 메소드

public static AddTexture ( string name, Microsoft.Xna.Framework.Graphics.Texture2D texture ) : void
name string
texture Microsoft.Xna.Framework.Graphics.Texture2D
리턴 void

ContentManager() 공개 메소드

public ContentManager ( ) : System
리턴 System

GetFont() 공개 정적인 메소드

public static GetFont ( string name ) : SpriteFont
name string
리턴 Microsoft.Xna.Framework.Graphics.SpriteFont

GetTexture() 공개 정적인 메소드

public static GetTexture ( string name ) : Microsoft.Xna.Framework.Graphics.Texture2D
name string
리턴 Microsoft.Xna.Framework.Graphics.Texture2D

Initialize() 공개 정적인 메소드

public static Initialize ( ) : void
리턴 void

프로퍼티 상세

Textures 공개적으로 정적으로 프로퍼티

public static Dictionary Textures
리턴 Texture2D>.Dictionary