Agliullov D. A. Lab Work 8 Advanced #9

Merged
eegov merged 8 commits from Lab8 into Lab7 2022-11-07 11:34:02 +04:00
Showing only changes of commit 75695fec70 - Show all commits

View File

@ -59,8 +59,8 @@ namespace AirBomber
var entity = _airplane.Airplane;
var otherEntity = otherAirplane._airplane.Airplane;
if (entity.GetType() != otherEntity.GetType() ||
entity.Speed != otherEntity.Speed ||
entity.Weight != otherEntity.Weight ||
entity.Speed != otherEntity.Speed ||
entity.Weight != otherEntity.Weight ||
entity.BodyColor != otherEntity.BodyColor)
{
return false;