C# Class XNAGraphics.ComponentBundle.DrawableBundle.Animation

Inheritance: XNAGraphics.KernelBundle.BasicsBundle.BasicDrawable
Afficher le fichier Open project: joseruizjimenez/personal-training-martial-arts

Méthodes publiques

Свойство Type Description
frame int
frame_count int
origin Vector2
paused bool
time_per_frame float
total_elapsed float

Méthodes publiques

Méthode Description
Animation ( Object texture, Vector2 origin, int frame_count, int frames_per_sec ) : System
Animation ( Object texture, int x, int y, Color color, Vector2 origin, int frame_count, int frames_per_sec, float scale, float rotation ) : System
Animation ( Object texture, int x, int y, Vector2 origin, int frame_count, int frames_per_sec ) : System
Animation ( Object texture, int x, int y, Vector2 origin, int frame_count, int frames_per_sec, float scale ) : System
Animation ( Object texture, int x, int y, Vector2 origin, int frame_count, int frames_per_sec, float scale, float rotation ) : System
Pause ( ) : void
Play ( ) : void
Reset ( ) : void
Stop ( ) : void

Méthodes protégées

Méthode Description
onDraw ( SpriteBatch spriteBatch ) : void
onLoad ( Microsoft.Xna.Framework.Game game ) : void
onUpdate ( GameTime gameTime ) : void

Method Details

Animation() public méthode

public Animation ( Object texture, Vector2 origin, int frame_count, int frames_per_sec ) : System
texture Object
origin Vector2
frame_count int
frames_per_sec int
Résultat System

Animation() public méthode

public Animation ( Object texture, int x, int y, Color color, Vector2 origin, int frame_count, int frames_per_sec, float scale, float rotation ) : System
texture Object
x int
y int
color Color
origin Vector2
frame_count int
frames_per_sec int
scale float
rotation float
Résultat System

Animation() public méthode

public Animation ( Object texture, int x, int y, Vector2 origin, int frame_count, int frames_per_sec ) : System
texture Object
x int
y int
origin Vector2
frame_count int
frames_per_sec int
Résultat System

Animation() public méthode

public Animation ( Object texture, int x, int y, Vector2 origin, int frame_count, int frames_per_sec, float scale ) : System
texture Object
x int
y int
origin Vector2
frame_count int
frames_per_sec int
scale float
Résultat System

Animation() public méthode

public Animation ( Object texture, int x, int y, Vector2 origin, int frame_count, int frames_per_sec, float scale, float rotation ) : System
texture Object
x int
y int
origin Vector2
frame_count int
frames_per_sec int
scale float
rotation float
Résultat System

Pause() public méthode

public Pause ( ) : void
Résultat void

Play() public méthode

public Play ( ) : void
Résultat void

Reset() public méthode

public Reset ( ) : void
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void

onDraw() protected méthode

protected onDraw ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
Résultat void

onLoad() protected méthode

protected onLoad ( Microsoft.Xna.Framework.Game game ) : void
game Microsoft.Xna.Framework.Game
Résultat void

onUpdate() protected méthode

protected onUpdate ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void

Property Details

frame public_oe property

public int frame
Résultat int

frame_count public_oe property

public int frame_count
Résultat int

origin public_oe property

public Vector2 origin
Résultat Vector2

paused public_oe property

public bool paused
Résultat bool

time_per_frame public_oe property

public float time_per_frame
Résultat float

total_elapsed public_oe property

public float total_elapsed
Résultat float