public virtual void FromBZWObject(BZFlag.Map.Elements.Shapes.PhaseableObject obj) { Name = obj.Name; SetupFromPoisitionalbe(obj); Attributes = obj.Attributes; Passable = obj.Passable; DriveThrough = obj.DriveThrough; ShootThrough = obj.ShootThrough; Ricochet = obj.Ricochet; GUID = obj.GUID; }
protected virtual BZFlag.Map.Elements.Shapes.PhaseableObject OutputToPhaseable(BZFlag.Map.Elements.Shapes.PhaseableObject obj) { OutputToPoisitionalbe(obj); obj.Attributes = Attributes; obj.GUID = GUID; obj.Passable = Passable; obj.DriveThrough = DriveThrough; obj.ShootThrough = ShootThrough; obj.Ricochet = Ricochet; return(obj); }