Chunks
Moddable voxel sandbox for room-scale VR.
Protected Member Functions | Properties | List of all members
Chunks.Plugins.GameMode Class Reference

Base class for custom types that define top level game rules. More...

Inheritance diagram for Chunks.Plugins.GameMode:
Chunks.Plugins.MenuGameMode

Protected Member Functions

virtual void OnInitialize ()
 Called when the game mode first starts. More...
 
virtual void OnWandConnected (Wand wand)
 Called each time a wand controller connects. More...
 
virtual void OnWandDisconnected (Wand wand)
 Called each time a wand controller loses connection. More...
 
virtual void OnUpdate ()
 Called once per frame. More...
 

Properties

IWorld World [get]
 Current world instance. More...
 
MenuPanel Instructions [get]
 
MenuPanel WorldMenu [get]
 
MenuPanel SettingsMenu [get]
 

Detailed Description

Base class for custom types that define top level game rules.

Member Function Documentation

virtual void Chunks.Plugins.GameMode.OnInitialize ( )
protectedvirtual

Called when the game mode first starts.

Reimplemented in Chunks.Plugins.MenuGameMode.

virtual void Chunks.Plugins.GameMode.OnUpdate ( )
protectedvirtual

Called once per frame.

virtual void Chunks.Plugins.GameMode.OnWandConnected ( Wand  wand)
protectedvirtual

Called each time a wand controller connects.

Parameters
wandThe newly connected wand
virtual void Chunks.Plugins.GameMode.OnWandDisconnected ( Wand  wand)
protectedvirtual

Called each time a wand controller loses connection.

Parameters
wandThe newly disconnected wand

Property Documentation

MenuPanel Chunks.Plugins.GameMode.Instructions
get
MenuPanel Chunks.Plugins.GameMode.SettingsMenu
get
IWorld Chunks.Plugins.GameMode.World
get

Current world instance.

MenuPanel Chunks.Plugins.GameMode.WorldMenu
get

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