Ctrl+K

GameLauncher

Declaration

public class Strawberry.Desktop.GameLauncher

Launches a game using an opengl renderer.

Implements: Strawberry.IGameLauncher

Constructors

GameLauncher

void GameLauncher(bool fullscreen)

Parameters:

Name Type Description
fullscreen System.Boolean

Properties

GraphicsContext

IGraphicsContext GraphicsContext { get }

InputManager

IInputManager InputManager { get }

SoundManager

ISoundManager SoundManager { get }

Storage

IStorage Storage { get }

Methods

Initialize

void Initialize(int width, int height)

Parameters:

Name Type Description
width System.Int32
height System.Int32

Run

void Run()

Events

Initialized

event Action Initialized

GameLoop

event Action GameLoop