C# 클래스 EtherDuels.Game.View.GameView

The GameView is responsible for drawing all the components needed in the game.
파일 보기 프로젝트 열기: julius/pse_spacewar 1 사용 예제들

공개 메소드들

메소드 설명
Draw ( Viewport viewport, SpriteBatch spriteBatch, GameTime gameTime ) : void

Draws the GameView, all its subcomponents and the HUD (Head-Up-Display).

GameView ( GameModel gameModel, WorldView worldView ) : System

Creates a new GameView object.

비공개 메소드들

메소드 설명
DrawHUD ( Viewport viewport, SpriteBatch spriteBatch ) : void

메소드 상세

Draw() 공개 메소드

Draws the GameView, all its subcomponents and the HUD (Head-Up-Display).
public Draw ( Viewport viewport, SpriteBatch spriteBatch, GameTime gameTime ) : void
viewport Microsoft.Xna.Framework.Graphics.Viewport The used Viewport.
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch The used SpriteBatch.
gameTime Microsoft.Xna.Framework.GameTime The frame's time object.
리턴 void

GameView() 공개 메소드

Creates a new GameView object.
public GameView ( GameModel gameModel, WorldView worldView ) : System
gameModel EtherDuels.Game.Model.GameModel The assigned GameModel..
worldView WorldView The view of the World.
리턴 System