Проверка

This commit is contained in:
Макс Бондаренко 2022-11-13 16:59:52 +04:00
parent 2906c0ea79
commit 1fea5cae98

View File

@ -22,10 +22,5 @@ namespace WarmlyShip
BodyColor = bodyColor; BodyColor = bodyColor;
} }
public static EntityWarmlyShip Creator(string data)
{
string[] strs = data.Split(':');
return new EntityWarmlyShip(Convert.ToInt32(strs[0]), Convert.ToInt32(strs[1]), Color.FromName(strs[2]));
}
} }
} }