C# Класс ThreadedPlatformer.Animation

Represents an animated texture.
Currently, this class assumes that each frame of animation is as wide as each animation is tall. The number of frames in the animation are inferred from this.
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Animation ( Microsoft.Xna.Framework.Graphics.Texture2D texture, float frameTime, bool isLooping ) : System

Constructors a new animation.

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

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

Constructors a new animation.
public Animation ( Microsoft.Xna.Framework.Graphics.Texture2D texture, float frameTime, bool isLooping ) : System
texture Microsoft.Xna.Framework.Graphics.Texture2D
frameTime float
isLooping bool
Результат System