C# Класс Evbpc.Framework.Xna.Windows.Forms.Form

Represents a Framework.Windows.Forms.Form that can be drawn with an XNA SpriteBatch.
Наследование: Framework.Windows.Forms.Form
Показать файл Открыть проект

Открытые методы

Метод Описание
DrawAll ( SpriteBatch s ) : void

This call must be made in order for any forms to be displayed.

Form ( string name ) : System

Creates a new instance of the Form class.

UpdateAll ( GameTime gt, bool hasFocus ) : void

This should update anything that requires mouse, keyboard, gamepad, joystick, or other input controls. (Dragging, etc.)

Приватные методы

Метод Описание
Draw ( SpriteBatch s ) : void
GetActiveForm ( Evbpc.Framework.Drawing p ) : int
KeyStateMan_KeyDown ( object sender, KeyEventArgs e ) : void
KeyStateMan_KeyPress ( object sender, KeyPressEventArgs e ) : void
KeyStateMan_KeyUp ( object sender, KeyEventArgs e ) : void
Update ( bool hasFocus, GameTime gt ) : void

Описание методов

DrawAll() публичный статический Метод

This call must be made in order for any forms to be displayed.
public static DrawAll ( SpriteBatch s ) : void
s Microsoft.Xna.Framework.Graphics.SpriteBatch The SpriteBatch to do the drawing.
Результат void

Form() публичный Метод

Creates a new instance of the Form class.
public Form ( string name ) : System
name string
Результат System

UpdateAll() публичный статический Метод

This should update anything that requires mouse, keyboard, gamepad, joystick, or other input controls. (Dragging, etc.)
public static UpdateAll ( GameTime gt, bool hasFocus ) : void
gt Microsoft.Xna.Framework.GameTime A value representing the elapsed GameTime since the last update.
hasFocus bool A value indicating whether or not the application has focus.
Результат void