C# 클래스 MyPolarBear.Content.ContentManager

파일 보기 프로젝트 열기: sgdc/sgdc-old 1 사용 예제들

공개 메소드들

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

메소드 상세

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.Collections.Generic
리턴 System.Collections.Generic

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