PowerQuest 0.20.6
Loading...
Searching...
No Matches
R Class Reference

Detailed Description

Shortcut for accessing Rooms. Eg. if ( R.Previous == R.Kitchen ) E.ChangeRoom( R.LivingRoom );

Properties

static IRoom Current [get]
 The room the player is in.
 
static IRoom Previous [get]
 The last room the player was in.
 
static bool EnteredFromEditor [get]
 True when loading into a room while testing in the editor.
 
static bool FirstTimeVisited [get]
 True the first time the player enters a room.
 

Property Documentation

◆ Current

IRoom Current
staticget

The room the player is in.

◆ Previous

IRoom Previous
staticget

The last room the player was in.

◆ EnteredFromEditor

bool EnteredFromEditor
staticget

True when loading into a room while testing in the editor.

◆ FirstTimeVisited

bool FirstTimeVisited
staticget

True the first time the player enters a room.