コード例 #1
0
 /// <summary>
 /// Create passage with given values
 /// </summary>
 /// <param name="passageType">Type of passage</param>
 /// <param name="destinationID">Dungeon passage goes to</param>
 /// <param name="location">Location on map of passage</param>
 public Passage(PassageTypeEnum passageType, String destinationID, XY location = null)
 {
     this.PassageType   = passageType;
     this.DestinationID = destinationID;
     this.Location      = location;
 }
コード例 #2
0
 /// <summary>
 /// Create passage with given values, with a dungeon instead of ID
 /// </summary>
 /// <param name="passageType">Type of passage</param>
 /// <param name="destination">Dungeon passage goes to</param>
 /// <param name="location">Location on map of passage</param>
 public Passage(PassageTypeEnum passageType, Dungeon destination, XY location = null)
 {
     this.PassageType = passageType;
     this.Destination = destination;
     this.Location    = location;
 }
コード例 #3
0
 /// <summary>
 /// Create passage with given values
 /// </summary>
 /// <param name="PassageType">Type of passage</param>
 /// <param name="DestinationID">Dungeon passage goes to</param>
 /// <param name="Location">Location on map of passage</param>
 public Passage(PassageTypeEnum PassageType, String DestinationID, XY Location = null)
 {
     this.PassageType   = PassageType;
     this.DestinationID = DestinationID;
     this.Location      = Location;
 }