public MinimumOffsetPin(string name, string description, IOrientedDrawable owner, ILocatedPresence origin, Vector2 direction, double minimumOffset)
     : base(name, description, owner)
 {
     if (string.IsNullOrWhiteSpace(name))
     {
         throw new ArgumentNullException(nameof(name));
     }
     Owner         = owner;
     Direction     = direction;
     MinimumOffset = minimumOffset;
     _origin       = origin ?? owner;
 }
Ejemplo n.º 2
0
 public FixedPin(string name, string description, ILocatedDrawable owner, ILocatedPresence origin, Vector2 offset)
     : base(name, description, owner)
 {
     Offset  = offset;
     _origin = origin;
 }