ПИбд-23 Тихоненков А.Е. Лабораторная №3 #10

Closed
YourDax wants to merge 8 commits from Lab3 into Lab2
2 changed files with 4 additions and 4 deletions
Showing only changes of commit e9ec3ff774 - Show all commits

View File

@ -81,9 +81,9 @@ namespace AntiAircraftGun.DrawingObjects
//вверх
DirectionType.Up => _startPosY - AntiAirСraftGun.Step > 0,
// вправо
DirectionType.Right =>_startPosX + AntiAirСraftGun.Step < _pictureWidth - 110,
//вниз
DirectionType.Down => _startPosY + AntiAirСraftGun.Step < _pictureHeight - 60,
DirectionType.Right =>_startPosX + AntiAirСraftGun.Step + _zenitWidth < _pictureWidth,
//вниз
DirectionType.Down => _startPosY + AntiAirСraftGun.Step + _zenitHeight< _pictureHeight,
_ => false,
};
}

View File

@ -145,5 +145,5 @@ namespace AntiAircraftGun
}
}
}
}