C# 클래스 TugOfBaby.RenderManager

파일 보기 프로젝트 열기: martinvium/ngj2012 1 사용 예제들

공개 메소드들

메소드 설명
Draw ( SpriteBatch spriteBatch, List all ) : void
DrawLine ( SpriteBatch batch, float width, Color color, Vector2 point1, Vector2 point2 ) : void
GetSprite ( Texture name ) : Sprite
LoadContent ( Microsoft.Xna.Framework.Content.ContentManager content, List all ) : void
RenderManager ( GraphicsDevice graphicsDevice ) : System
Update ( GameTime gametime, List all ) : void

메소드 상세

Draw() 공개 메소드

public Draw ( SpriteBatch spriteBatch, List all ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
all List
리턴 void

DrawLine() 공개 메소드

public DrawLine ( SpriteBatch batch, float width, Color color, Vector2 point1, Vector2 point2 ) : void
batch Microsoft.Xna.Framework.Graphics.SpriteBatch
width float
color Color
point1 Vector2
point2 Vector2
리턴 void

GetSprite() 공개 메소드

public GetSprite ( Texture name ) : Sprite
name Microsoft.Xna.Framework.Graphics.Texture
리턴 Sprite

LoadContent() 공개 메소드

public LoadContent ( Microsoft.Xna.Framework.Content.ContentManager content, List all ) : void
content Microsoft.Xna.Framework.Content.ContentManager
all List
리턴 void

RenderManager() 공개 메소드

public RenderManager ( GraphicsDevice graphicsDevice ) : System
graphicsDevice GraphicsDevice
리턴 System

Update() 공개 메소드

public Update ( GameTime gametime, List all ) : void
gametime Microsoft.Xna.Framework.GameTime
all List
리턴 void