コード例 #1
0
ファイル: Player.cs プロジェクト: jakepetroules/jakes-3d-mmo
 /// <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;
 }
コード例 #2
0
 /// <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)
 {
 }
コード例 #3
0
ファイル: Player.cs プロジェクト: jakepetroules/jakes-3d-mmo
 /// <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;
 }