Лаба 5 - В С Ё!

This commit is contained in:
antoc0der 2023-12-08 08:56:02 +03:00
parent b32bd61729
commit fc549cc992
3 changed files with 9 additions and 9 deletions

View File

@ -22,11 +22,11 @@ public class DrawningIlluminators implements IDraw{
CurY = y;
}
public void ChangeIlluminatorNumb(int x){
if(x <= 2)
if(x <= 10)
IlluminatorNumb = NumberType.Ten;
if(x == 3)
if(x == 20)
IlluminatorNumb = NumberType.Twenty;
if(x >= 4)
if(x >= 30)
IlluminatorNumb = NumberType.Thirty;
}
public NumberType IlluminatorNumb(){

View File

@ -21,11 +21,11 @@ public class DrawningIlluminatorsCirc implements IDraw {
CurY = y;
}
public void ChangeIlluminatorNumb(int x){
if(x <= 2)
if(x <= 10)
IlluminatorNumb = NumberType.Ten;
if(x == 3)
if(x == 20)
IlluminatorNumb = NumberType.Twenty;
if(x >= 4)
if(x >= 30)
IlluminatorNumb = NumberType.Thirty;
}
public NumberType IlluminatorNumb(){

View File

@ -17,11 +17,11 @@ public class DrawningIlluminatorsQuad implements IDraw {
CurY = curY;
}
public void ChangeIlluminatorNumb(int x){
if(x <= 2)
if(x <= 10)
IlluminatorNumb = NumberType.Ten;
if(x == 3)
if(x == 20)
IlluminatorNumb = NumberType.Twenty;
if(x >= 4)
if(x >= 30)
IlluminatorNumb = NumberType.Thirty;
}
public void ChangeX(int x){