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.
파일 보기 프로젝트 열기: sq/Fracture 1 사용 예제들

공개 메소드들

메소드 설명
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