public virtual void FromBZWObject(BZFlag.Map.Elements.World world) { Name = world.Name; Size = world.Size; FlagHeight = world.FlagHeight; NoWalls = world.NoWalls; FreeCTFSpawns = world.FreeCTFSpawns; Attributes = world.Attributes; }
public override BZFlag.Map.Elements.BasicObject ToBZWObject() { var world = new BZFlag.Map.Elements.World(); world.Name = Name; world.Size = Size; world.NoWalls = NoWalls; world.FreeCTFSpawns = FreeCTFSpawns; world.Attributes = Attributes; return(world); }