How to create a constructor in GameStateBase?

This code causes crash((