made Player and Enemy descend from the same class, since a lot of their logic is the same
made collisions apply to enemies