changed player to character and local

This allows the character class to be separate from input so multiplayer
characters can be controlled by network