CalculateRange() public static method

public static CalculateRange ( Portal portal ) : PortalRange
portal Portal
return PortalRange
Esempio n. 1
0
 public Portal(String world, Vector3I[] affectedBlocks, String Name, String Creator, DateTime Created, String Place)
 {
     this.World          = world;
     this.AffectedBlocks = affectedBlocks;
     this.Range          = Portal.CalculateRange(this);
     this.Name           = Name;
     this.Creator        = Creator;
     this.Created        = Created;
     this.Place          = Place;
 }
Esempio n. 2
0
 public Portal(String world, Vector3I[] affectedBlocks, String Name, String Creator, String Place, bool CustomOutput)
 {
     this.World            = world;
     this.AffectedBlocks   = affectedBlocks;
     this.Range            = Portal.CalculateRange(this);
     this.Name             = Name;
     this.Creator          = Creator;
     this.Created          = DateTime.UtcNow;
     this.Place            = Place;
     this.HasDesiredOutput = CustomOutput;
 }