C# Class Dodgeball.Engine.Assets

Afficher le fichier Open project: schonstal/BLOODBALL

Méthodes publiques

Свойство Type Description
fonts SpriteFont>.Dictionary
songs Song>.Dictionary
sounds SoundEffect>.Dictionary
sprites Texture2D>.Dictionary

Méthodes publiques

Méthode Description
addFont ( String name, SpriteFont spriteFont ) : void
addSong ( String name, Song song ) : void
addSound ( String name, SoundEffect sound ) : void
addTexture ( String name, Microsoft.Xna.Framework.Graphics.Texture2D texture ) : void
getFont ( string name ) : SpriteFont
getSong ( String name ) : Song
getSound ( String name ) : SoundEffect
getTexture ( String name ) : Microsoft.Xna.Framework.Graphics.Texture2D

Method Details

addFont() public static méthode

public static addFont ( String name, SpriteFont spriteFont ) : void
name String
spriteFont Microsoft.Xna.Framework.Graphics.SpriteFont
Résultat void

addSong() public static méthode

public static addSong ( String name, Song song ) : void
name String
song Song
Résultat void

addSound() public static méthode

public static addSound ( String name, SoundEffect sound ) : void
name String
sound Microsoft.Xna.Framework.Audio.SoundEffect
Résultat void

addTexture() public static méthode

public static addTexture ( String name, Microsoft.Xna.Framework.Graphics.Texture2D texture ) : void
name String
texture Microsoft.Xna.Framework.Graphics.Texture2D
Résultat void

getFont() public static méthode

public static getFont ( string name ) : SpriteFont
name string
Résultat Microsoft.Xna.Framework.Graphics.SpriteFont

getSong() public static méthode

public static getSong ( String name ) : Song
name String
Résultat Song

getSound() public static méthode

public static getSound ( String name ) : SoundEffect
name String
Résultat Microsoft.Xna.Framework.Audio.SoundEffect

getTexture() public static méthode

public static getTexture ( String name ) : Microsoft.Xna.Framework.Graphics.Texture2D
name String
Résultat Microsoft.Xna.Framework.Graphics.Texture2D

Property Details

fonts public_oe property

public Dictionary fonts
Résultat SpriteFont>.Dictionary

songs public_oe property

public Dictionary songs
Résultat Song>.Dictionary

sounds public_oe property

public Dictionary sounds
Résultat SoundEffect>.Dictionary

sprites public_oe property

public Dictionary sprites
Résultat Texture2D>.Dictionary