C# 클래스 Project290.GameElements.GameWorld

This is the main public class for the game, which is the first thing initiallized, and it the ultimate controller of everything that is going on. Although this is originally made as an instanced object, all of the variables are static (which is okay, as there will only ever be 1 of these existing at a time). Thus, just say GameWorld.variable from anywhere to get easy access to that variable.
상속: Microsoft.Xna.Framework.Game
파일 보기 프로젝트 열기: scastle/Solitude 1 사용 예제들

공개 메소드들

메소드 설명
ExitGame ( ) : void

Exits the game.

GameWorld ( ) : System

Initializes a new instance of the GameWorld class.

보호된 메소드들

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

Reference page contains code sample.

Initialize ( ) : void

Called after the Game and GraphicsDevice are created, but before LoadContent. Reference page contains code sample.

LoadContent ( ) : void

Loads the sprites and audio.

Update ( GameTime gameTime ) : void

Reference page contains links to related conceptual articles.

비공개 메소드들

메소드 설명
ForceSignIn ( ) : void

Forces at least one player to be signed in at all times

메소드 상세

Draw() 보호된 메소드

Reference page contains code sample.
protected Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime Time passed since the last call to Draw.
리턴 void

ExitGame() 공개 정적인 메소드

Exits the game.
public static ExitGame ( ) : void
리턴 void

GameWorld() 공개 메소드

Initializes a new instance of the GameWorld class.
public GameWorld ( ) : System
리턴 System

Initialize() 보호된 메소드

Called after the Game and GraphicsDevice are created, but before LoadContent. Reference page contains code sample.
protected Initialize ( ) : void
리턴 void

LoadContent() 보호된 메소드

Loads the sprites and audio.
protected LoadContent ( ) : void
리턴 void

Update() 보호된 메소드

Reference page contains links to related conceptual articles.
protected Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime Time passed since the last call to Update.
리턴 void