When I add elements to a dictionary, the elements are also added to another dictionary (C# + XNA)
- by sFuller
I have some code that looks like this:
public static class Control
{
public static Dictionary<PlayerIndex, GamePadState> gamePadState = new Dictionary<PlayerIndex,GamePadState>();
public static Dictionary<PlayerIndex, GamePadState> oldGamePadState = new Dictionary<PlayerIndex, GamePadState>();
public static…