The classes in the example are poorly named. It is a "Game State" sample and all of those "xxxScreen" classes are actually game states. The GamePlayScreen class should have been called GamePlayState. As a state, it's perfectly fine to have game logic there. As far as a graphical interface, they aren't. They are game states that have a graphical representation.
That should ease your mind. ;-)