I meant having a parent class "GameState" containing all the logic and utility functions which are going to be shared by all your game states....