C# Class Californium.Assets

显示文件 Open project: DatZach/HumanityAgainstCards

Public Methods

Method Description
LoadFont ( string name ) : Font
LoadSound ( string name ) : SoundBuffer
LoadTexture ( string name ) : Texture
PlayMusic ( string name ) : void
PlaySound ( string name ) : void

Method Details

LoadFont() public static method

public static LoadFont ( string name ) : Font
name string
return SFML.Graphics.Font

LoadSound() public static method

public static LoadSound ( string name ) : SoundBuffer
name string
return SFML.Audio.SoundBuffer

LoadTexture() public static method

public static LoadTexture ( string name ) : Texture
name string
return SFML.Graphics.Texture

PlayMusic() public static method

public static PlayMusic ( string name ) : void
name string
return void

PlaySound() public static method

public static PlaySound ( string name ) : void
name string
return void