lab3 some minor fixes
This commit is contained in:
parent
766efc216d
commit
9549cdbfa5
@ -25,7 +25,9 @@ public class DrawingCrossBlocks implements IDrawBlocks{
|
|||||||
number = BlocksNumber.SIX;
|
number = BlocksNumber.SIX;
|
||||||
}
|
}
|
||||||
@Override
|
@Override
|
||||||
public int getType() {return 2;}
|
public int getType() {
|
||||||
|
return 2;
|
||||||
|
}
|
||||||
@Override
|
@Override
|
||||||
public void drawBlocks(Graphics2D graphics2D, int _startX, int _startY){
|
public void drawBlocks(Graphics2D graphics2D, int _startX, int _startY){
|
||||||
graphics2D.fillRect(_startX+54, _startY+12, 2, 6);
|
graphics2D.fillRect(_startX+54, _startY+12, 2, 6);
|
||||||
|
Loading…
Reference in New Issue
Block a user