Table of Contents

Interface IPresenter<TUniverse>

Namespace
AlphaFramework.Presentation
Assembly
AlphaFramework.Presentation.dll

Maintains a View to present an IUniverse game world.

public interface IPresenter<out TUniverse> : IDisposable where TUniverse : class, IUniverse

Type Parameters

TUniverse

The type of universe to present.

Inherited Members
Extension Methods

Properties

Universe

The game world to present.

TUniverse Universe { get; }

Property Value

TUniverse

View

The engine view used to display the Scene

View View { get; }

Property Value

View

Methods

HookIn()

Hooks the View into Views

void HookIn()

Remarks

Will internally call Initialize() first, if you didn't

HookOut()

Hooks the View out of Views

void HookOut()

Initialize()

Generate Renderables from the Universe and keeps everything in sync using events

void Initialize()

Remarks

Should be called before HookIn() is used

Exceptions

FileNotFoundException

A required Asset file could not be found.

IOException

There was an error reading an Asset file.

InvalidDataException

An Asset file contains invalid data.