[XNA] Player class v1.0
Pretty basic: Take in a basic sprite and movez0r it. About the only part of the code I am actually happy with are the keyboard controls; I simply pass the KeyboardState to the class and let the class worry about it.
// Move player. player.Move(Keyboard.GetState());
Easy. My next project is timers.
Categorised as: programming, school
