ISEbd-21 Gavrilov R.A. work lab 4 #6
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user