Interface IPresenter<TUniverse>
- Namespace
- AlphaFramework.Presentation
- Assembly
- AlphaFramework.Presentation.dll
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
Methods
HookIn()
void HookIn()
Remarks
Will internally call Initialize() first, if you didn't
HookOut()
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.