PIbd-23. Dolgova D.N. Lab 01 #1
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "lab1"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Зачтено с понижением балла(ов)
@ -0,0 +74,4 @@
{
if (x < 0 || x + _shipWidth > _pictureWidth)
{
x = Math.Max(0, _pictureWidth - _shipWidth);
А смысл вызывать Math.Max, он всегда будет возвращать _pictureWidth - _shipWidth
Pull request closed