C# 클래스 fliXNA_xbox.FlxGame

상속: Microsoft.Xna.Framework.Game
파일 보기 프로젝트 열기: bpercevic/flixel-XNA 1 사용 예제들

공개 메소드들

메소드 설명
FlxGame ( FlxState State, int Width = 1280, int Height = 720, float Zoom = 1.0f, string ContentRootDirectory = "Content" ) : System

FlxGame constructor takes in the initial state and resolution of the screen.

보호된 메소드들

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

Draw everything - mainly the state and all of its objects.

Initialize ( ) : void

Required XNA initialization along with some FlxG initializations.

Update ( GameTime gameTime ) : void

Update FlxG which updates important mechanics such as cameras and time elapsed.

메소드 상세

Draw() 보호된 메소드

Draw everything - mainly the state and all of its objects.
protected Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
리턴 void

FlxGame() 공개 메소드

FlxGame constructor takes in the initial state and resolution of the screen.
public FlxGame ( FlxState State, int Width = 1280, int Height = 720, float Zoom = 1.0f, string ContentRootDirectory = "Content" ) : System
State FlxState The state you want to load
Width int The width of the screen
Height int The height of the screen
Zoom float
ContentRootDirectory string The directory of your content. It is set automatically by default but you can change it if you want to.
리턴 System

Initialize() 보호된 메소드

Required XNA initialization along with some FlxG initializations.
protected Initialize ( ) : void
리턴 void

Update() 보호된 메소드

Update FlxG which updates important mechanics such as cameras and time elapsed.
protected Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
리턴 void