ISEbd-21 Gavrilov R.A. work lab 4 #6

Closed
Gavrilov wants to merge 3 commits from Laba_4_DumpTruck_Basic into Laba_3_DumpTruck_Basic
Showing only changes of commit cb80d0bdd5 - Show all commits

View File

@ -51,8 +51,7 @@ namespace DumpTruck.Generics
/// <param name="collect"></param>
/// <param name="obj"></param>
/// <returns></returns>
public static int operator +(TrucksGenericCollection<T, U> collect, T?
obj)
public static int operator +(TrucksGenericCollection<T, U> collect, T? obj)
{
if (obj == null)
{
@ -124,7 +123,6 @@ namespace DumpTruck.Generics
private void DrawObjects(Graphics g)
{
int width = _pictureWidth / _placeSizeWidth;
for (int i = 0; i < _collection.Count; i++)
{
DrawningTruck? truck = _collection[i];