C# 클래스 C64Emu.EmulatorUI

This is the main type for your game
상속: Microsoft.Xna.Framework.Game, EmulatorIOAdapter
파일 보기 프로젝트 열기: rosc77/vita64

보호된 프로퍼티들

프로퍼티 타입 설명
statistics Statistics

공개 메소드들

메소드 설명
EmulatorUI ( ) : System
LOG_DEBUG ( String text ) : void
TranslateKeyCode ( Keys k ) : int
decode4Bit ( byte data, int offset ) : void
decode8Bit ( byte data, int offset ) : void
getKeyboardEvents ( ) : int[]
onNewFrame ( byte data ) : void

보호된 메소드들

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

This is called when the game should draw itself.

Initialize ( ) : void

Allows the game to perform any initialization it needs to before starting to run. This is where it can query for any required services and load any non-graphic related content. Calling base.Initialize will enumerate through any components and initialize them as well.

LoadContent ( ) : void

LoadContent will be called once per game and is the place to load all of your content.

Run ( ) : void
UnloadContent ( ) : void

UnloadContent will be called once per game and is the place to unload all content.

Update ( GameTime gameTime ) : void

Allows the game to run logic such as updating the world, checking for collisions, gathering input, and playing audio.

drawOverlay ( ) : void
drawScreen ( Quad screenRect ) : void
drawText ( string text, float x, float y, uint argb, int alignment ) : void
drawTexture ( Microsoft.Xna.Framework.Graphics.Texture2D texture, float x0, float y0, float x1, float y1 ) : void
drawTexture ( Microsoft.Xna.Framework.Graphics.Texture2D texture, float x0, float y0, float x1, float y1, float texcoords ) : void
inputs ( ) : void
layoutScreen ( ) : Quad
render ( ) : void
shutdown ( ) : void
startup ( ) : void
update ( ) : void

비공개 메소드들

메소드 설명
createTexture ( string text, Font font, uint argb ) : Microsoft.Xna.Framework.Graphics.Texture2D
storeKeyboardEvents ( ) : void
updateTextureBuffer ( ) : void

메소드 상세

Draw() 보호된 메소드

This is called when the game should draw itself.
protected Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime Provides a snapshot of timing values.
리턴 void

EmulatorUI() 공개 메소드

public EmulatorUI ( ) : System
리턴 System

Initialize() 보호된 메소드

Allows the game to perform any initialization it needs to before starting to run. This is where it can query for any required services and load any non-graphic related content. Calling base.Initialize will enumerate through any components and initialize them as well.
protected Initialize ( ) : void
리턴 void

LOG_DEBUG() 공개 정적인 메소드

public static LOG_DEBUG ( String text ) : void
text String
리턴 void

LoadContent() 보호된 메소드

LoadContent will be called once per game and is the place to load all of your content.
protected LoadContent ( ) : void
리턴 void

Run() 보호된 메소드

protected Run ( ) : void
리턴 void

TranslateKeyCode() 공개 메소드

public TranslateKeyCode ( Keys k ) : int
k Keys
리턴 int

UnloadContent() 보호된 메소드

UnloadContent will be called once per game and is the place to unload all content.
protected UnloadContent ( ) : void
리턴 void

Update() 보호된 메소드

Allows the game to run logic such as updating the world, checking for collisions, gathering input, and playing audio.
protected Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime Provides a snapshot of timing values.
리턴 void

decode4Bit() 공개 메소드

public decode4Bit ( byte data, int offset ) : void
data byte
offset int
리턴 void

decode8Bit() 공개 메소드

public decode8Bit ( byte data, int offset ) : void
data byte
offset int
리턴 void

drawOverlay() 보호된 메소드

protected drawOverlay ( ) : void
리턴 void

drawScreen() 보호된 메소드

protected drawScreen ( Quad screenRect ) : void
screenRect Quad
리턴 void

drawText() 보호된 메소드

protected drawText ( string text, float x, float y, uint argb, int alignment ) : void
text string
x float
y float
argb uint
alignment int
리턴 void

drawTexture() 보호된 메소드

protected drawTexture ( Microsoft.Xna.Framework.Graphics.Texture2D texture, float x0, float y0, float x1, float y1 ) : void
texture Microsoft.Xna.Framework.Graphics.Texture2D
x0 float
y0 float
x1 float
y1 float
리턴 void

drawTexture() 보호된 메소드

protected drawTexture ( Microsoft.Xna.Framework.Graphics.Texture2D texture, float x0, float y0, float x1, float y1, float texcoords ) : void
texture Microsoft.Xna.Framework.Graphics.Texture2D
x0 float
y0 float
x1 float
y1 float
texcoords float
리턴 void

getKeyboardEvents() 공개 메소드

public getKeyboardEvents ( ) : int[]
리턴 int[]

inputs() 보호된 메소드

protected inputs ( ) : void
리턴 void

layoutScreen() 보호된 메소드

protected layoutScreen ( ) : Quad
리턴 Quad

onNewFrame() 공개 메소드

public onNewFrame ( byte data ) : void
data byte
리턴 void

render() 보호된 메소드

protected render ( ) : void
리턴 void

shutdown() 보호된 메소드

protected shutdown ( ) : void
리턴 void

startup() 보호된 메소드

protected startup ( ) : void
리턴 void

update() 보호된 메소드

protected update ( ) : void
리턴 void

프로퍼티 상세

statistics 보호되어 있는 프로퍼티

protected Statistics,C64Emu statistics
리턴 Statistics