Finish 2
This commit is contained in:
parent
a78fd3cc60
commit
5429ed9346
@ -26,5 +26,14 @@ namespace CzokoŚmieciarka.DataModels.Models
|
||||
{
|
||||
return !(a == b);
|
||||
}
|
||||
|
||||
public static Coords operator + (Coords a, Coords b)
|
||||
{
|
||||
return new Coords(a.X + b.X, a.Y + b.Y);
|
||||
}
|
||||
public static Coords operator -(Coords a, Coords b)
|
||||
{
|
||||
return new Coords(a.X - b.X, a.Y - b.Y);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user