Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the Player class.
 /// </summary>
 /// <param name="model">The model to use for this game object.</param>
 /// <param name="userName">The player's username.</param>
 public Player(ExtendedModel model, string userName)
     : this(model)
 {
     this.UserName = userName;
 }
 /// <summary>
 /// Initializes a new instance of the BasicObject class.
 /// </summary>
 /// <param name="model">The model to use for this game object.</param>
 public BasicObject(ExtendedModel model)
     : base(model)
 {
 }
Exemple #3
0
 /// <summary>
 /// Initializes a new instance of the Player class.
 /// </summary>
 /// <param name="model">The model to use for this game object.</param>
 public Player(ExtendedModel model)
     : base(model)
 {
     this.UserName = string.Empty;
 }