public virtual void FromBZWObject(BZFlag.Map.Elements.Shapes.Zone zone) { base.FromBZWObject(zone as BZFlag.Map.Elements.Shapes.PositionableObject); Flags = zone.Flags; ZoneFlags = zone.Flags; Safe = zone.Safe; Team = zone.Team; }
public override BZFlag.Map.Elements.BasicObject ToBZWObject() { var obj = new BZFlag.Map.Elements.Shapes.Zone(); OutputToPoisitionalbe(obj); obj.Flags = Flags; obj.ZoneFlags = ZoneFlags; obj.Team = Team; obj.Safe = Safe; return(obj); }