C# Класс ThreadedPlatformer.AnimationPlayer

Controls playback of an Animation.
Показать файл Открыть проект

Открытые методы

Метод Описание
Draw ( GameTime gameTime, BitmapBatch batch, Vector2 position, SpriteEffects spriteEffects ) : void

Advances the time position and draws the current frame of the animation.

PlayAnimation ( Animation animation ) : void

Begins or continues playback of an animation.

Описание методов

Draw() публичный Метод

Advances the time position and draws the current frame of the animation.
public Draw ( GameTime gameTime, BitmapBatch batch, Vector2 position, SpriteEffects spriteEffects ) : void
gameTime Microsoft.Xna.Framework.GameTime
batch BitmapBatch
position Vector2
spriteEffects SpriteEffects
Результат void

PlayAnimation() публичный Метод

Begins or continues playback of an animation.
public PlayAnimation ( Animation animation ) : void
animation Animation
Результат void