public Pattern Add(ObType type, int x, float distance) { spawnDatas.Add(new SpawnData(type, x, offset + distance)); return(this); }
public SpawnData(ObType type, int x, float distance) { this.type = type; this.distance = distance; this.x = x; }
public Pattern Add(ObType type, int x, float distance) { spawnDatas.Add(new SpawnData(type, x, offset + distance)); return(this); }
public SpawnData(ObType type, int x, float distance) { this.type = type; this.distance = distance; this.x = x; }