meteo_engine/src/sig/BlockClump.java

20 lines
544 B
Java
Raw Normal View History

2021-09-16 06:04:45 +00:00
package sig;
import java.util.List;
public class BlockClump {
List<Block> blocks;
2021-09-16 06:33:12 +00:00
double x,y; //the lower-left origin of this block clump. Every block positions relative to this.
double yspd;
2021-09-16 07:24:40 +00:00
public BlockClump(List<Block> blockList, double x, double y, double startspd) {
2021-09-16 06:04:45 +00:00
this.blocks = blockList;
2021-09-16 07:24:40 +00:00
this.x=x;
this.y=y;
this.yspd=startspd;
}
@Override
public String toString() {
return "BlockClump [blocks=" + blocks + ", x=" + x + ", y=" + y + ", yspd=" + yspd + "]";
2021-09-16 06:04:45 +00:00
}
}