C# 클래스 BrightIdeasSoftware.ImageRenderer.AnimationState

Instances of this class kept track of the animation state of a single image.
파일 보기 프로젝트 열기: soywiz/cspspemu

공개 메소드들

메소드 설명
AdvanceFrame ( long millisecondsNow ) : void

Advance our images current frame and calculate when it will expire

AnimationState ( ) : System

Create an AnimationState in a quiet state

AnimationState ( Image image ) : System

Create an animation state for the given image, which may or may not be an animation

IsAnimation ( Image image ) : bool

Is the given image an animation

메소드 상세

AdvanceFrame() 공개 메소드

Advance our images current frame and calculate when it will expire
public AdvanceFrame ( long millisecondsNow ) : void
millisecondsNow long
리턴 void

AnimationState() 공개 메소드

Create an AnimationState in a quiet state
public AnimationState ( ) : System
리턴 System

AnimationState() 공개 메소드

Create an animation state for the given image, which may or may not be an animation
public AnimationState ( Image image ) : System
image Image The image to be rendered
리턴 System

IsAnimation() 공개 정적인 메소드

Is the given image an animation
public static IsAnimation ( Image image ) : bool
image Image The image to be tested
리턴 bool