Проверка
This commit is contained in:
parent
2906c0ea79
commit
1fea5cae98
@ -22,10 +22,5 @@ namespace WarmlyShip
|
||||
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]));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user