So here is what I am trying to do:
I am making a game for practice using the GameStateManagement example from creators.xna.com.
The whole system is too much to explain here, so experience with the sample is necessary.
Its essence is that there are several game screens that overlap each other. One of them contains a board superimposed over it on several card images. The ultimate goal is to be able to drag the map image onto the table (or click on it, this method is not a problem).
The actual question is how to transfer data from one screen (overlaid cards) to another (table).
I thought it was possible to create an event that would fire when I drag a card or click on it or whatever you have, and then register an event handler on another screen to handle it.
I, however, have little or no experience with custom events in C #. I'm not sure that all triggered events fall into a large "event pool" somewhere, and handlers can pick them up no matter where they are or how it works. I ask because the table screen and the overlay screen are separate classes that are related to drawing and updating, rather than sending information to each other.
I hope this is enough to outline the problem decently. Any tips / tricks are welcome.
Thanks!