Rubber Hand VR  V1.0
Toolkit for developing VR neuroplasticity experiments relying on the leap motion hand tracker
HandVR.BlockGame.BlockGameManager Class Reference

Example setup for a test object - Creates a variety of colored blocks which the user must then sort into various matching receptacles More...

Inheritance diagram for HandVR.BlockGame.BlockGameManager:
Collaboration diagram for HandVR.BlockGame.BlockGameManager:

Public Member Functions

void SetNumTests (int numTests)
 Sets how many trials the user must perform - Use set minutes instead More...
 
void SetNumMinutes (float numMins)
 Sets how long the test lasts for. Once numMins have elapsed, no more trials will be started More...
 
IEnumerator StartTest ()
 Begins a test. Trials will continue to be created until numMins has elapsed More...
 
void StopTest ()
 Ends test early More...
 
IEnumerator Trial ()
 Single instance of a trial - spawns in a set number of blocks, which users must then sort into matching receptacles. Trial ends when no active blocks are left in the scene More...
 

Properties

IList< ITestDataResults [get]
 Returns array of all output results More...
 
bool IsRunning = false [get]
 True if test is in progress More...
 
- Properties inherited from HandVR.ITest
IList< ITestDataResults [get]
 Returns results of test More...
 
bool IsRunning [get]
 Returns true if the test is in progress More...
 

Detailed Description

Example setup for a test object - Creates a variety of colored blocks which the user must then sort into various matching receptacles

Definition at line 13 of file BlockGameManager.cs.

Member Function Documentation

◆ SetNumMinutes()

void HandVR.BlockGame.BlockGameManager.SetNumMinutes ( float  numMins)

Sets how long the test lasts for. Once numMins have elapsed, no more trials will be started

Parameters
numMins

Implements HandVR.ITest.

Definition at line 64 of file BlockGameManager.cs.

◆ SetNumTests()

void HandVR.BlockGame.BlockGameManager.SetNumTests ( int  numTests)

Sets how many trials the user must perform - Use set minutes instead

Parameters
numTests

Implements HandVR.ITest.

Definition at line 55 of file BlockGameManager.cs.

◆ StartTest()

IEnumerator HandVR.BlockGame.BlockGameManager.StartTest ( )

Begins a test. Trials will continue to be created until numMins has elapsed

Returns

Implements HandVR.ITest.

Definition at line 73 of file BlockGameManager.cs.

Here is the call graph for this function:

◆ StopTest()

void HandVR.BlockGame.BlockGameManager.StopTest ( )

Ends test early

Implements HandVR.ITest.

Definition at line 103 of file BlockGameManager.cs.

◆ Trial()

IEnumerator HandVR.BlockGame.BlockGameManager.Trial ( )

Single instance of a trial - spawns in a set number of blocks, which users must then sort into matching receptacles. Trial ends when no active blocks are left in the scene

Returns

Definition at line 113 of file BlockGameManager.cs.

Here is the caller graph for this function:

Property Documentation

◆ IsRunning

bool HandVR.BlockGame.BlockGameManager.IsRunning = false
get

True if test is in progress

Definition at line 25 of file BlockGameManager.cs.

◆ Results

IList<ITestData> HandVR.BlockGame.BlockGameManager.Results
get

Returns array of all output results

Definition at line 20 of file BlockGameManager.cs.


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