implemented vectors into the player class