Use boxed.
MOved functionality from InputStateHolder to GameStateHolder.
Removed player index.
Simplification.
Removed unnecessary boxing.
Explicit unboxing.
Typo.