C# 클래스 Dabrorius.MonoPunk.Spritemap

상속: Image
파일 보기 프로젝트 열기: dabrorius/MonoPunk

공개 프로퍼티들

프로퍼티 타입 설명
Complete bool
rate int

공개 메소드들

메소드 설명
Add ( string name, int frames, double frameRate, bool loop = true ) : Anim
Play ( string name = "", bool reset = false, int frame ) : Anim
Spritemap ( Microsoft.Xna.Framework.Graphics.Texture2D source, int frameWidth, int frameHeight ) : System
Update ( ) : void
updateClipRect ( ) : void

메소드 상세

Add() 공개 메소드

public Add ( string name, int frames, double frameRate, bool loop = true ) : Anim
name string
frames int
frameRate double
loop bool
리턴 Anim

Play() 공개 메소드

public Play ( string name = "", bool reset = false, int frame ) : Anim
name string
reset bool
frame int
리턴 Anim

Spritemap() 공개 메소드

public Spritemap ( Microsoft.Xna.Framework.Graphics.Texture2D source, int frameWidth, int frameHeight ) : System
source Microsoft.Xna.Framework.Graphics.Texture2D
frameWidth int
frameHeight int
리턴 System

Update() 공개 메소드

public Update ( ) : void
리턴 void

updateClipRect() 공개 메소드

public updateClipRect ( ) : void
리턴 void

프로퍼티 상세

Complete 공개적으로 프로퍼티

public bool Complete
리턴 bool

rate 공개적으로 프로퍼티

public int rate
리턴 int