ISEbd-22 Alimova M.S. Lab Work 02 #2
@ -67,6 +67,10 @@ namespace AirBomber
|
||||
width, int height, int airPlaneWidth, int airPlaneHeight)
|
||||
{
|
||||
// TODO: Продумать проверки
|
||||
if (width < _airPlaneWidth || height < _airPlaneHeight)
|
||||
{
|
||||
return;
|
||||
}
|
||||
_pictureWidth = width;
|
||||
_pictureHeight = height;
|
||||
_airPlaneWidth = airPlaneWidth;
|
||||
|
Loading…
Reference in New Issue
Block a user