public void Put(ObjectInstruction inst, XY roomLocation) { var obj = FacilityObjectFactory.Create(inst.ObjectName); obj.Orientation = inst.Location.Orientation; _layer[roomLocation.Plus(inst.Location)].Put(obj); }
protected bool Equals(ObjectInstruction other) { return(string.Equals(ObjectName, other.ObjectName) && Equals(Location, other.Location)); }
public void Put(ObjectInstruction inst) { Put(inst, new XY(0, 0)); }