LabWork_06 #12
@ -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…
x
Reference in New Issue
Block a user