C# 클래스 Project_Starfighter.GameScreen

This is a game component that implements IUpdateable.
상속: Microsoft.Xna.Framework.DrawableGameComponent
파일 보기 프로젝트 열기: csce3513/Team15 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
game Microsoft.Xna.Framework.Game
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch

공개 메소드들

메소드 설명
Draw ( GameTime gameTime ) : void

GameScreen ( Microsoft.Xna.Framework.Game game, SpriteBatch spriteBatch ) : System

Constructor for the Game Screen

Hide ( ) : void

Initialize ( ) : void

Allows the game component to perform any initialization it needs to before starting to run. This is where it can query for any required services and load content.

Show ( ) : void

Update ( GameTime gameTime ) : void

Allows the game component to update itself.

메소드 상세

Draw() 공개 메소드

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

GameScreen() 공개 메소드

Constructor for the Game Screen
public GameScreen ( Microsoft.Xna.Framework.Game game, SpriteBatch spriteBatch ) : System
game Microsoft.Xna.Framework.Game
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
리턴 System

Hide() 공개 메소드

public Hide ( ) : void
리턴 void

Initialize() 공개 메소드

Allows the game component to perform any initialization it needs to before starting to run. This is where it can query for any required services and load content.
public Initialize ( ) : void
리턴 void

Show() 공개 메소드

public Show ( ) : void
리턴 void

Update() 공개 메소드

Allows the game component to update itself.
public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime Provides a snapshot of timing values.
리턴 void

프로퍼티 상세

game 보호되어 있는 프로퍼티

protected Game,Microsoft.Xna.Framework game
리턴 Microsoft.Xna.Framework.Game

spriteBatch 보호되어 있는 프로퍼티

protected SpriteBatch,Microsoft.Xna.Framework.Graphics spriteBatch
리턴 Microsoft.Xna.Framework.Graphics.SpriteBatch