Remove pattern matching on GameState and Entity