Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
SiliconStudio.Paradox.Games.IGame Interface Reference
Inheritance diagram for SiliconStudio.Paradox.Games.IGame:
SiliconStudio.Paradox.Games.GameBase SiliconStudio.Paradox.Game SiliconStudio.Paradox.Graphics.Regression.TestGameBase SiliconStudio.Paradox.Graphics.Regression.GraphicsTestBase SiliconStudio.Paradox.Graphics.Regression.GraphicsTestBase

Properties

GameTime UpdateTime [get]
 Gets the current game time. More...
 
GameTime DrawTime [get]
 Gets the current draw time. More...
 
float DrawInterpolationFactor [get]
 Gets the draw interpolation factor, which is (UpdateTime - DrawTime) / TargetElapsedTime. If IsFixedTimeStep is false, it will be 0 as UpdateTime and DrawTime will be equal. More...
 
TimerTick PlayTime [get]
 Gets the play time, can be changed to match to the time of the current rendering scene. More...
 
AssetManager Asset [get]
 Gets or sets the AssetManager. More...
 
GameSystemCollection GameSystems [get]
 Gets the game components registered by this game. More...
 
GameContext Context [get]
 Gets the game context. More...
 
GraphicsDevice GraphicsDevice [get]
 Gets the graphics device. More...
 
TimeSpan InactiveSleepTime [get, set]
 Gets or sets the inactive sleep time. More...
 
bool IsActive [get]
 Gets a value indicating whether this instance is active. More...
 
bool IsFixedTimeStep [get, set]
 Gets or sets a value indicating whether this instance is fixed time step. More...
 
bool IsDrawDesynchronized [get, set]
 Gets or sets a value indicating whether draw can happen as fast as possible, even when IsFixedTimeStep is set. More...
 
bool IsMouseVisible [get, set]
 Gets or sets a value indicating whether the mouse should be visible. More...
 
LaunchParameters LaunchParameters [get]
 Gets the launch parameters. More...
 
bool IsRunning [get]
 Gets a value indicating whether is running. More...
 
ServiceRegistry Services [get]
 Gets the service container. More...
 
TimeSpan TargetElapsedTime [get, set]
 Gets or sets the target elapsed time. More...
 
GameWindow Window [get]
 Gets the abstract window. More...
 
GameState State [get, set]
 Gets or sets the state. More...
 

Events

EventHandler< EventArgsActivated
 Occurs when [activated]. More...
 
EventHandler< EventArgsDeactivated
 Occurs when [deactivated]. More...
 
EventHandler< EventArgsExiting
 Occurs when [exiting]. More...
 
EventHandler< EventArgsWindowCreated
 Occurs when [window created]. More...
 

Detailed Description

Definition at line 12 of file IGame.cs.

Property Documentation

AssetManager SiliconStudio.Paradox.Games.IGame.Asset
get

Gets or sets the AssetManager.

The content manager.

Definition at line 65 of file IGame.cs.

GameContext SiliconStudio.Paradox.Games.IGame.Context
get

Gets the game context.

The game context.

Definition at line 77 of file IGame.cs.

float SiliconStudio.Paradox.Games.IGame.DrawInterpolationFactor
get

Gets the draw interpolation factor, which is (UpdateTime - DrawTime) / TargetElapsedTime. If IsFixedTimeStep is false, it will be 0 as UpdateTime and DrawTime will be equal.

The draw interpolation factor.

Definition at line 53 of file IGame.cs.

GameTime SiliconStudio.Paradox.Games.IGame.DrawTime
get

Gets the current draw time.

The current draw time.

Definition at line 44 of file IGame.cs.

GameSystemCollection SiliconStudio.Paradox.Games.IGame.GameSystems
get

Gets the game components registered by this game.

The game components.

Definition at line 71 of file IGame.cs.

GraphicsDevice SiliconStudio.Paradox.Games.IGame.GraphicsDevice
get

Gets the graphics device.

The graphics device.

Definition at line 83 of file IGame.cs.

TimeSpan SiliconStudio.Paradox.Games.IGame.InactiveSleepTime
getset

Gets or sets the inactive sleep time.

The inactive sleep time.

Definition at line 89 of file IGame.cs.

bool SiliconStudio.Paradox.Games.IGame.IsActive
get

Gets a value indicating whether this instance is active.

true if this instance is active; otherwise, false.

Definition at line 95 of file IGame.cs.

bool SiliconStudio.Paradox.Games.IGame.IsDrawDesynchronized
getset

Gets or sets a value indicating whether draw can happen as fast as possible, even when IsFixedTimeStep is set.

true if this instance allows desychronized drawing; otherwise, false.

Definition at line 107 of file IGame.cs.

bool SiliconStudio.Paradox.Games.IGame.IsFixedTimeStep
getset

Gets or sets a value indicating whether this instance is fixed time step.

true if this instance is fixed time step; otherwise, false.

Definition at line 101 of file IGame.cs.

bool SiliconStudio.Paradox.Games.IGame.IsMouseVisible
getset

Gets or sets a value indicating whether the mouse should be visible.

true if the mouse should be visible; otherwise, false.

Definition at line 113 of file IGame.cs.

bool SiliconStudio.Paradox.Games.IGame.IsRunning
get

Gets a value indicating whether is running.

Definition at line 124 of file IGame.cs.

LaunchParameters SiliconStudio.Paradox.Games.IGame.LaunchParameters
get

Gets the launch parameters.

The launch parameters.

Definition at line 119 of file IGame.cs.

TimerTick SiliconStudio.Paradox.Games.IGame.PlayTime
get

Gets the play time, can be changed to match to the time of the current rendering scene.

The play time.

Definition at line 59 of file IGame.cs.

ServiceRegistry SiliconStudio.Paradox.Games.IGame.Services
get

Gets the service container.

The service container.

Definition at line 130 of file IGame.cs.

GameState SiliconStudio.Paradox.Games.IGame.State
getset

Gets or sets the state.

The state.

Definition at line 148 of file IGame.cs.

TimeSpan SiliconStudio.Paradox.Games.IGame.TargetElapsedTime
getset

Gets or sets the target elapsed time.

The target elapsed time.

Definition at line 136 of file IGame.cs.

GameTime SiliconStudio.Paradox.Games.IGame.UpdateTime
get

Gets the current game time.

The current game time.

Definition at line 38 of file IGame.cs.

GameWindow SiliconStudio.Paradox.Games.IGame.Window
get

Gets the abstract window.

The window.

Definition at line 142 of file IGame.cs.

Event Documentation

EventHandler<EventArgs> SiliconStudio.Paradox.Games.IGame.Activated

Occurs when [activated].

Definition at line 17 of file IGame.cs.

EventHandler<EventArgs> SiliconStudio.Paradox.Games.IGame.Deactivated

Occurs when [deactivated].

Definition at line 22 of file IGame.cs.

EventHandler<EventArgs> SiliconStudio.Paradox.Games.IGame.Exiting

Occurs when [exiting].

Definition at line 27 of file IGame.cs.

EventHandler<EventArgs> SiliconStudio.Paradox.Games.IGame.WindowCreated

Occurs when [window created].

Definition at line 32 of file IGame.cs.


The documentation for this interface was generated from the following file: