C# Class GrandLarceny.ImageManager

Afficher le fichier Open project: melburn/GLhf Class Usage Examples

Méthodes publiques

Свойство Type Description
m_animationSpeed float

Méthodes publiques

Méthode Description
ImageManager ( string a_sprite ) : System
draw ( Vector2 a_imgPosition, float a_rotation, Vector2 a_origin, Color a_color, SpriteEffects a_spriteEffect = SpriteEffects.None, float a_layer = 0.0f, float a_xScale = 1.0f, float a_yScale = 1.0f ) : void
getAnimationSpeed ( ) : float
getImage ( ) : Microsoft.Xna.Framework.Graphics.Texture2D
getImagePath ( ) : string
getLength ( ) : int
getSize ( ) : Vector2
getSubImageIndex ( ) : float
isStopped ( ) : bool
isTexture ( Microsoft.Xna.Framework.Graphics.Texture2D a_texture ) : System.Boolean
run ( ) : void
setAnimationSpeed ( float a_speed ) : void
setLooping ( System.Boolean a_looping ) : void
setSprite ( string a_sprite ) : bool
setSpriteSilently ( string a_sprite ) : bool
setSubImage ( float a_index ) : void
stop ( ) : void
update ( GameTime a_gameTime ) : void

Method Details

ImageManager() public méthode

public ImageManager ( string a_sprite ) : System
a_sprite string
Résultat System

draw() public méthode

public draw ( Vector2 a_imgPosition, float a_rotation, Vector2 a_origin, Color a_color, SpriteEffects a_spriteEffect = SpriteEffects.None, float a_layer = 0.0f, float a_xScale = 1.0f, float a_yScale = 1.0f ) : void
a_imgPosition Vector2
a_rotation float
a_origin Vector2
a_color Color
a_spriteEffect SpriteEffects
a_layer float
a_xScale float
a_yScale float
Résultat void

getAnimationSpeed() public méthode

public getAnimationSpeed ( ) : float
Résultat float

getImage() public méthode

public getImage ( ) : Microsoft.Xna.Framework.Graphics.Texture2D
Résultat Microsoft.Xna.Framework.Graphics.Texture2D

getImagePath() public méthode

public getImagePath ( ) : string
Résultat string

getLength() public méthode

public getLength ( ) : int
Résultat int

getSize() public méthode

public getSize ( ) : Vector2
Résultat Vector2

getSubImageIndex() public méthode

public getSubImageIndex ( ) : float
Résultat float

isStopped() public méthode

public isStopped ( ) : bool
Résultat bool

isTexture() public méthode

public isTexture ( Microsoft.Xna.Framework.Graphics.Texture2D a_texture ) : System.Boolean
a_texture Microsoft.Xna.Framework.Graphics.Texture2D
Résultat System.Boolean

run() public méthode

public run ( ) : void
Résultat void

setAnimationSpeed() public méthode

public setAnimationSpeed ( float a_speed ) : void
a_speed float
Résultat void

setLooping() public méthode

public setLooping ( System.Boolean a_looping ) : void
a_looping System.Boolean
Résultat void

setSprite() public méthode

public setSprite ( string a_sprite ) : bool
a_sprite string
Résultat bool

setSpriteSilently() public méthode

public setSpriteSilently ( string a_sprite ) : bool
a_sprite string
Résultat bool

setSubImage() public méthode

public setSubImage ( float a_index ) : void
a_index float
Résultat void

stop() public méthode

public stop ( ) : void
Résultat void

update() public méthode

public update ( GameTime a_gameTime ) : void
a_gameTime Microsoft.Xna.Framework.GameTime
Résultat void

Property Details

m_animationSpeed public_oe property

public float m_animationSpeed
Résultat float