C# 클래스 ToyBox.SpriteManager

상속: Microsoft.Xna.Framework.GameComponent, ISpriteService
파일 보기 프로젝트 열기: jlyonsmith/ToyBox

공개 메소드들

메소드 설명
AttachAnimation ( Microsoft.Xna.Framework.Graphics.Sprite sprite, Animation animation ) : void
AttachSprite ( Microsoft.Xna.Framework.Graphics.Sprite sprite ) : void
CreateRenderTarget ( int width, int height, IList textureAndPositions ) : RenderTarget2D
DetachAllSprites ( ) : void
DetachSprite ( Microsoft.Xna.Framework.Graphics.Sprite sprite ) : void
Draw ( ) : void
DrawRenderTarget ( RenderTarget2D renderTarget, IList textureAndPositions ) : void
FastForwardAnimations ( ) : void
HitTest ( Point point ) : int
Initialize ( ) : void
SpriteManager ( Microsoft.Xna.Framework.Game game ) : System
Update ( GameTime gameTime ) : void

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

비공개 메소드들

메소드 설명
ActivateNextAnimation ( Animation animation, Animation nextAnimation ) : void
InsertNewLines ( string text, SpriteFont font, int width, int &height ) : string

메소드 상세

AttachAnimation() 공개 메소드

public AttachAnimation ( Microsoft.Xna.Framework.Graphics.Sprite sprite, Animation animation ) : void
sprite Microsoft.Xna.Framework.Graphics.Sprite
animation Animation
리턴 void

AttachSprite() 공개 메소드

public AttachSprite ( Microsoft.Xna.Framework.Graphics.Sprite sprite ) : void
sprite Microsoft.Xna.Framework.Graphics.Sprite
리턴 void

CreateRenderTarget() 공개 메소드

public CreateRenderTarget ( int width, int height, IList textureAndPositions ) : RenderTarget2D
width int
height int
textureAndPositions IList
리턴 Microsoft.Xna.Framework.Graphics.RenderTarget2D

DetachAllSprites() 공개 메소드

public DetachAllSprites ( ) : void
리턴 void

DetachSprite() 공개 메소드

public DetachSprite ( Microsoft.Xna.Framework.Graphics.Sprite sprite ) : void
sprite Microsoft.Xna.Framework.Graphics.Sprite
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

Draw() 공개 메소드

public Draw ( ) : void
리턴 void

DrawRenderTarget() 공개 메소드

public DrawRenderTarget ( RenderTarget2D renderTarget, IList textureAndPositions ) : void
renderTarget Microsoft.Xna.Framework.Graphics.RenderTarget2D
textureAndPositions IList
리턴 void

FastForwardAnimations() 공개 메소드

public FastForwardAnimations ( ) : void
리턴 void

HitTest() 공개 메소드

public HitTest ( Point point ) : int
point Point
리턴 int

Initialize() 공개 메소드

public Initialize ( ) : void
리턴 void

SpriteManager() 공개 메소드

public SpriteManager ( Microsoft.Xna.Framework.Game game ) : System
game Microsoft.Xna.Framework.Game
리턴 System

Update() 공개 메소드

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
리턴 void