vkmEngine 1.0.0
A C++ game engine · vkmengine.com
Loading...
Searching...
No Matches
Vkm::Engine::BehaviorContext Struct Reference

Everything gameplay code may reach, bundled behind one pointer. More...

#include <behavior.h>

Public Attributes

WindowManager * window = nullptr
 The only nullable field: a host that draws nothing has none.

Detailed Description

Everything gameplay code may reach, bundled behind one pointer.

Session-stable, unlike FrameContext, so subscribe() lambdas may keep using it. A field belongs here exactly when behaviors are meant to use it.


The documentation for this struct was generated from the following file: