move playerstate.hpp to playerstate.cpp