![]() |
vkmEngine 1.0.15
A C++ game engine · vkmengine.com
|
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. | |
| const HostChrome * | chrome = nullptr |
| Where in the window the scene is drawn. | |
| const OceanData * | ocean = nullptr |
| OceanSystem's, this tick's or frame's. | |
Everything gameplay code may reach, bundled behind one pointer.
Session-stable, unlike FrameContext, so subscribe() lambdas may keep using it - but for ocean, a frame product BehaviorSystem refreshes each tick and frame. A field belongs here exactly when behaviors are meant to use it.