PIbd-23. Ivanov V.N. Lab Work 01. Hard #1
@ -42,15 +42,15 @@ public class DrawningDoor {
|
||||
g2d.fillRect(CurX + 15, CurY + 40, 10, 20);
|
||||
g2d.fillRect(CurX + 30, CurY + 40, 10, 20);
|
||||
|
||||
if (DoorNumberType == DoorNumberType.Three || DoorNumberType == DoorNumberType.Four || DoorNumberType == DoorNumberType.Five) {
|
||||
if (DoorNumberType() == DoorNumberType.Three || DoorNumberType() == DoorNumberType.Four || DoorNumberType() == DoorNumberType.Five) {
|
||||
g2d.fillRect(CurX + 45, CurY + 40, 10, 20);
|
||||
}
|
||||
|
||||
if (DoorNumberType == DoorNumberType.Four || DoorNumberType == DoorNumberType.Five) {
|
||||
if (DoorNumberType() == DoorNumberType.Four || DoorNumberType() == DoorNumberType.Five) {
|
||||
g2d.fillRect(CurX + 60, CurY + 40, 10, 20);
|
||||
}
|
||||
|
||||
if (DoorNumberType == DoorNumberType.Five) {
|
||||
if (DoorNumberType() == DoorNumberType.Five) {
|
||||
g2d.fillRect(CurX + 75, CurY + 40, 10, 20);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user