I am writing a simple game. I want to use object array to store id of object and an image from resources. How do I do that?
I tried to use _Properties.Resources_
in array, but it does not work. Is there any way to do this?
This is my array:
public object[,] CharacterImages =
{
//{id, resource_name}
{0, 0},
{1, "flower.bmp"}
};