C# 클래스 GameGraphics.WorldGraphics

파일 보기 프로젝트 열기: pmyoung/Advanced-Game-Project 1 사용 예제들

공개 메소드들

메소드 설명
GetGraphicsModel ( ) : GraphicsModel

Returns the GraphicsModel object that this class is using

GetSpriteStore ( ) : SpriteStore

Gets the SpriteStore object that this class uses when rendering.

Render ( SpriteBatch spriteBatch ) : void

Renders the game world this method is called during the games Draw method.

SetGraphicsModel ( GraphicsModel model ) : void

Sets the GraphicsModel that this class will reference and use to render the game world.

SetSpriteStore ( SpriteStore store ) : void

Sets the SpriteStore object that will hold all the sprites WorldGraphics will reference.

메소드 상세

GetGraphicsModel() 공개 메소드

Returns the GraphicsModel object that this class is using
public GetGraphicsModel ( ) : GraphicsModel
리턴 GraphicsModel

GetSpriteStore() 공개 메소드

Gets the SpriteStore object that this class uses when rendering.
public GetSpriteStore ( ) : SpriteStore
리턴 SpriteStore

Render() 공개 메소드

Renders the game world this method is called during the games Draw method.
public Render ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch Contains graphics contexts for rendering on the game screen
리턴 void

SetGraphicsModel() 공개 메소드

Sets the GraphicsModel that this class will reference and use to render the game world.
public SetGraphicsModel ( GraphicsModel model ) : void
model GraphicsModel The GraphicsModel object that this class will use
리턴 void

SetSpriteStore() 공개 메소드

Sets the SpriteStore object that will hold all the sprites WorldGraphics will reference.
public SetSpriteStore ( SpriteStore store ) : void
store SpriteStore The SpriteStore object to be used
리턴 void