C# Class Indiefreaks.Xna.Rendering.Camera.Camera2D

Inheritance: ICamera
Exibir arquivo Open project: Indiefreaks/igf

Public Methods

Method Description
BeginFrameRendering ( GameTime gameTime, FrameBuffers frameBuffers ) : void

Initializes the Camera and SunBurn SceneState to be used for rendering

EndFrameRendering ( ) : void

Finalizes Camera and SunBurn SceneState for this frame

Protected Methods

Method Description
Camera2D ( float aspectRatio ) : Indiefreaks.Xna.Core

Creates a new Camera instance

ICamera ( GameTime gameTime ) : void
UpdateInput ( InputManager input ) : void

Override this method to catch input events and act on the camera

Method Details

BeginFrameRendering() public method

Initializes the Camera and SunBurn SceneState to be used for rendering
public BeginFrameRendering ( GameTime gameTime, FrameBuffers frameBuffers ) : void
gameTime Microsoft.Xna.Framework.GameTime
frameBuffers FrameBuffers
return void

Camera2D() protected method

Creates a new Camera instance
protected Camera2D ( float aspectRatio ) : Indiefreaks.Xna.Core
aspectRatio float The viewport aspect ratio
return Indiefreaks.Xna.Core

EndFrameRendering() public method

Finalizes Camera and SunBurn SceneState for this frame
public EndFrameRendering ( ) : void
return void

ICamera() protected method

protected ICamera ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void

UpdateInput() protected abstract method

Override this method to catch input events and act on the camera
protected abstract UpdateInput ( InputManager input ) : void
input InputManager The current input instance
return void