This commit is contained in:
Вячеслав Иванов 2023-10-17 20:56:36 +04:00
parent efa7dd085b
commit 46c7fd0dfc

View File

@ -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);
}
}