CalculateRange() публичный статический Метод

public static CalculateRange ( Portal portal ) : PortalRange
portal Portal
Результат PortalRange
Пример #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;
 }
Пример #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;
 }