Ejemplo n.º 1
0
 /// <summary>
 /// Initializes newsly created gamestate within specified Game and with the specified name
 /// </summary>
 /// <param name="parent">Game to which the GameState belongs</param>
 /// <param name="name">Name of the state</param>
 public GameState(Game parent, string name)
 {
     this.m_Parent = parent;
     this.m_Name = name;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Creates a new instance of the repetetive game state
 /// </summary>
 /// <param name="parent">Game to which belongs this state</param>
 /// <param name="name">Name of the state</param>
 public RepetetiveState(Game parent, string name)
     : base(parent, name)
 {
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Creates a new instance of the SingleState object
 /// </summary>
 /// <param name="parent">Game to which this state belongs</param>
 /// <param name="name">Name of the state</param>
 public SingleState(Game parent, string name)
     : base(parent, name)
 {
 }