Esempio n. 1
0
 /// <summary>
 /// Sets a reference to the parent state machine
 /// </summary>
 /// <param name="machine">Parents state machine</param>
 public void SetStateMachine(JStateMachine machine)
 {
     this.machine = machine;
 }
Esempio n. 2
0
 /// <summary>
 /// Creates a new state with a name
 /// </summary>
 /// <param name="name">Name of the state</param>
 public JState(string name)
 {
     this.name = name;
     machine   = null;
 }
Esempio n. 3
0
 /// <summary>
 /// Default constructor
 /// </summary>
 public JState()
 {
     name    = "";
     machine = null;
 }
Esempio n. 4
0
		/// <summary>
		/// Sets a reference to the parent state machine
		/// </summary>
		/// <param name="machine">Parents state machine</param>
		public void SetStateMachine(JStateMachine machine)
		{
			this.machine = machine;
		}
Esempio n. 5
0
		/// <summary>
		/// Creates a new state with a name
		/// </summary>
		/// <param name="name">Name of the state</param>
		public JState(string name)
		{
			this.name = name;
			machine = null;
		}
Esempio n. 6
0
		/// <summary>
		/// Default constructor
		/// </summary>
		public JState()
		{
			name = "";
			machine = null;
		}