C# 클래스 Platformer.Sprite

파일 보기 프로젝트 열기: zmthy/play-dead 1 사용 예제들

공개 메소드들

메소드 설명
Sprite ( ) : System
Sprite ( Texture2D texture, Rectangle destBounds ) : System
Sprite ( Texture2D texture, Rectangle destBounds, Rectangle sourceBounds ) : System
Sprite ( Texture2D texture, float width, float height ) : System
draw ( SpriteBatch spriteBatch ) : void
draw ( SpriteBatch spriteBatch, int layerDepth ) : void
intersects ( Sprite other ) : bool

메소드 상세

Sprite() 공개 메소드

public Sprite ( ) : System
리턴 System

Sprite() 공개 메소드

public Sprite ( Texture2D texture, Rectangle destBounds ) : System
texture Texture2D
destBounds Rectangle
리턴 System

Sprite() 공개 메소드

public Sprite ( Texture2D texture, Rectangle destBounds, Rectangle sourceBounds ) : System
texture Texture2D
destBounds Rectangle
sourceBounds Rectangle
리턴 System

Sprite() 공개 메소드

public Sprite ( Texture2D texture, float width, float height ) : System
texture Texture2D
width float
height float
리턴 System

draw() 공개 메소드

public draw ( SpriteBatch spriteBatch ) : void
spriteBatch SpriteBatch
리턴 void

draw() 공개 메소드

public draw ( SpriteBatch spriteBatch, int layerDepth ) : void
spriteBatch SpriteBatch
layerDepth int
리턴 void

intersects() 공개 메소드

public intersects ( Sprite other ) : bool
other Sprite
리턴 bool