public void Load(Filer type) { this.x = type.rdInt(); this.y = type.rdInt(); this.r = type.rdInt(); this.name = type.rdString(); }
public void Load(Filer type) { this.x = type.rdInt(); this.y = type.rdInt(); this.width = type.rdInt(); this.height = type.rdInt(); this.name = type.rdString(); }
public void Load(Filer type) { this.x1 = type.rdInt(); this.y1 = type.rdInt(); this.x2 = type.rdInt(); this.y2 = type.rdInt(); this.name = type.rdString(); }
public List <Shape> loadFile(Filer filer) { List <Shape> arr = new List <Shape>(); Geo g = new Geo(); while (filer.eof()) { int header = filer.rdInt(); Shape s = g.ChoiseType(header); s.Load(filer); arr.Add(s); } return(arr); }