示例#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;
 }
示例#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)
 {
 }
示例#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)
 {
 }