C# Class Axiom.Framework.Game

Inheritance: IDisposable, IWindowEventListener
Datei anzeigen Open project: WolfgangSt/axiom

Protected Properties

Property Type Description
Camera Axiom.Core.Camera
ConfigurationManager IConfigurationManager
Content ResourceGroupManager
Engine Axiom.Core.Root
InputManager SharpInputSystem.InputManager
RenderSystem Axiom.Graphics.RenderSystem
SceneManager Axiom.Core.SceneManager
Viewport Axiom.Core.Viewport
Window Axiom.Graphics.RenderWindow
keyboard SharpInputSystem.Keyboard
mouse SharpInputSystem.Mouse

Public Methods

Method Description
CreateCamera ( ) : void
CreateInput ( ) : void
CreateRenderSystem ( ) : void
CreateRenderWindow ( ) : void
CreateScene ( ) : void
CreateSceneManager ( ) : void
CreateViewports ( ) : void
Dispose ( ) : void

Call to when class is no longer needed

Initialize ( ) : void
LoadConfiguration ( ) : void
LoadContent ( ) : void
Run ( ) : void
Update ( float timeSinceLastFrame ) : void
WindowClosed ( Axiom.Graphics.RenderWindow rw ) : void

Window has closed

WindowFocusChange ( Axiom.Graphics.RenderWindow rw ) : void

Window lost/regained the focus

WindowMoved ( Axiom.Graphics.RenderWindow rw ) : void

Window has moved position

WindowResized ( Axiom.Graphics.RenderWindow rw ) : void

Window has resized

Protected Methods

Method Description
Engine_FrameRenderingQueued ( object source, FrameEventArgs e ) : void
dispose ( bool disposeManagedResources ) : void

Class level dispose method

When implementing this method in an inherited class the following template should be used; protected override void dispose( bool disposeManagedResources ) { if ( !IsDisposed ) { if ( disposeManagedResources ) { // Dispose managed resources. } // If there are unmanaged resources to release, // they need to be released here. } // If it is available, make the call to the // base class's Dispose(Boolean) method base.dispose( disposeManagedResources ); }

Private Methods

Method Description
PreInitialize ( ) : void

Method Details

CreateCamera() public method

public CreateCamera ( ) : void
return void

CreateInput() public method

public CreateInput ( ) : void
return void

CreateRenderSystem() public method

public CreateRenderSystem ( ) : void
return void

CreateRenderWindow() public method

public CreateRenderWindow ( ) : void
return void

CreateScene() public abstract method

public abstract CreateScene ( ) : void
return void

CreateSceneManager() public method

public CreateSceneManager ( ) : void
return void

CreateViewports() public method

public CreateViewports ( ) : void
return void

Dispose() public method

Call to when class is no longer needed
public Dispose ( ) : void
return void

Engine_FrameRenderingQueued() protected method

protected Engine_FrameRenderingQueued ( object source, FrameEventArgs e ) : void
source object
e FrameEventArgs
return void

Initialize() public method

public Initialize ( ) : void
return void

LoadConfiguration() public method

public LoadConfiguration ( ) : void
return void

LoadContent() public method

public LoadContent ( ) : void
return void

Run() public method

public Run ( ) : void
return void

Update() public method

public Update ( float timeSinceLastFrame ) : void
timeSinceLastFrame float
return void

WindowClosed() public method

Window has closed
public WindowClosed ( Axiom.Graphics.RenderWindow rw ) : void
rw Axiom.Graphics.RenderWindow The RenderWindow which created this event
return void

WindowFocusChange() public method

Window lost/regained the focus
public WindowFocusChange ( Axiom.Graphics.RenderWindow rw ) : void
rw Axiom.Graphics.RenderWindow The RenderWindow which created this event
return void

WindowMoved() public method

Window has moved position
public WindowMoved ( Axiom.Graphics.RenderWindow rw ) : void
rw Axiom.Graphics.RenderWindow The RenderWindow which created this event
return void

WindowResized() public method

Window has resized
public WindowResized ( Axiom.Graphics.RenderWindow rw ) : void
rw Axiom.Graphics.RenderWindow The RenderWindow which created this event
return void

dispose() protected method

Class level dispose method
When implementing this method in an inherited class the following template should be used; protected override void dispose( bool disposeManagedResources ) { if ( !IsDisposed ) { if ( disposeManagedResources ) { // Dispose managed resources. } // If there are unmanaged resources to release, // they need to be released here. } // If it is available, make the call to the // base class's Dispose(Boolean) method base.dispose( disposeManagedResources ); }
protected dispose ( bool disposeManagedResources ) : void
disposeManagedResources bool True if Unmanaged resources should be released.
return void

Property Details

Camera protected_oe property

protected Camera,Axiom.Core Camera
return Axiom.Core.Camera

ConfigurationManager protected_oe property

protected IConfigurationManager ConfigurationManager
return IConfigurationManager

Content protected_oe property

protected ResourceGroupManager Content
return ResourceGroupManager

Engine protected_oe property

protected Root,Axiom.Core Engine
return Axiom.Core.Root

InputManager protected_oe property

protected SharpInputSystem.InputManager InputManager
return SharpInputSystem.InputManager

RenderSystem protected_oe property

protected RenderSystem,Axiom.Graphics RenderSystem
return Axiom.Graphics.RenderSystem

SceneManager protected_oe property

protected SceneManager,Axiom.Core SceneManager
return Axiom.Core.SceneManager

Viewport protected_oe property

protected Viewport,Axiom.Core Viewport
return Axiom.Core.Viewport

Window protected_oe property

protected RenderWindow,Axiom.Graphics Window
return Axiom.Graphics.RenderWindow

keyboard protected_oe property

protected SharpInputSystem.Keyboard keyboard
return SharpInputSystem.Keyboard

mouse protected_oe property

protected SharpInputSystem.Mouse mouse
return SharpInputSystem.Mouse