public void AddLink() { Link t = new Link(); t.Name = "NewLink_" + t.GUID; FromBZW.NewMapObject <BZWLink>(t); }
public void AddWaterLevel() { WaterLevel t = new WaterLevel(); t.Name = "WaterLevel"; t.Height = 1; FromBZW.NewMapObject <BZWWaterLevel>(t); }
public void AddPyramid() { Pyramid p = new Pyramid(); p.Size = new BZFlag.Data.Types.Vector3F(1, 1, 1); p.Name = "NewPyramid_" + p.GUID; FromBZW.NewMapObject <BZWPyramid>(p); }
public void AddBox() { Box box = new Box(); box.Size = new BZFlag.Data.Types.Vector3F(1, 1, 1); box.Name = "NewBox_" + box.GUID; FromBZW.NewMapObject <BZWBox>(box); }
public void AddBase() { Base t = new Base(); t.Size = new BZFlag.Data.Types.Vector3F(1, 1, 1); t.TeamColor = BZFlag.Data.Teams.TeamColors.RedTeam; t.Name = "NewBase_" + t.GUID; FromBZW.NewMapObject <BZWBase>(t); }
public void AddTeleporter() { Teleporter t = new Teleporter(); t.Size = new BZFlag.Data.Types.Vector3F(0.25f, 3, 10); t.Border = 0.5f; t.Name = "NewTeleporter_" + t.GUID; FromBZW.NewMapObject <BZWTeleporter>(t); }
public void AddPhysics() { BZFlag.Map.Elements.Physics t = new BZFlag.Map.Elements.Physics(); t.Name = "NewPhysics_" + t.GUID; FromBZW.NewMapObject <BZWPhysics>(t); }