PIbd-21 Belianin N.N. LabWork04 Hard #5

Closed
Belnik wants to merge 12 commits from LabWork04 into LabWork03
Showing only changes of commit d0c318b85d - Show all commits

View File

@ -20,6 +20,7 @@ public class DrawingTank extends DrawingArmoVehicle {
return;
}
// Установка позиций
public void SetPosition(int x, int y) {
_startPosX = Math.min(x, _pictureWidth-_TankWidth);
_startPosY = Math.min(y, _pictureHeight-_TankHeight);