BotNavSim  v0.4.3
Mobile Robot Simulation
EnvironmentEditor Class Reference

Environment editor state machine class. More...

Inheritance diagram for EnvironmentEditor:
Collaboration diagram for EnvironmentEditor:

Public Types

enum  State { State.inactive, State.editing }
 

Static Public Member Functions

static void Exit ()
 Exit this state machine. More...
 

Static Public Attributes

static EnvironmentEditor Instance
 Singleton pattern for MonoBehaviour. More...
 

Properties

static State state [get, private set]
 Gets the RobotEditor.State. More...
 

Private Member Functions

void Awake ()
 Awake this instance. More...
 

Detailed Description

Environment editor state machine class.

Definition at line 7 of file EnvironmentEditor.cs.

Member Enumeration Documentation

Enumerator
inactive 
editing 

Definition at line 9 of file EnvironmentEditor.cs.

Member Function Documentation

void EnvironmentEditor.Awake ( )
private

Awake this instance.

Instance Methods

Definition at line 38 of file EnvironmentEditor.cs.

38  {
39  if (Instance == null) {
40  Instance = this;
41  } else {
42  Destroy(this);
43  }
44  }
static EnvironmentEditor Instance
Singleton pattern for MonoBehaviour.
static void EnvironmentEditor.Exit ( )
static

Exit this state machine.

Definition at line 29 of file EnvironmentEditor.cs.

29  {
30  state = State.inactive;
31  }
static State state
Gets the RobotEditor.State.

Member Data Documentation

EnvironmentEditor EnvironmentEditor.Instance
static

Singleton pattern for MonoBehaviour.

Definition at line 17 of file EnvironmentEditor.cs.

Property Documentation

State EnvironmentEditor.state
staticgetprivate set

Gets the RobotEditor.State.

Definition at line 22 of file EnvironmentEditor.cs.


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