C# Класс C64Emu.EmulatorUI

This is the main type for your game
Наследование: Microsoft.Xna.Framework.Game, EmulatorIOAdapter
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
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