Edited the player class so now the player moves from the mob class
instead of the player class directly.