player only moves when on ground
fixed State declartion in header (i forgot it initially)