public static BBSprite GetSprite(string name, Random r) { if (Sprites.ContainsKey(name)) { return new BBSprite(Sprites[name], r); } return null; }