Ok, this may seem like a dumb question, but I am doing a creative project for my AP computer science class, and I chose to do an RPG(original, huh? lol) anyway, it is text based and the way I have it is that you start off at a certain point on a grid (using 2d) array, and you go north south east and west.
Now, the problem is I need to know if there is a way to store different methods I guess, in the individual spaces in the 2d array. Is that even possible? I just want to be able to use this for each event that the player would encounter. Anyway, if this is not possible, can you tell me of a different way to do this?