I'm relatively new the programming and I've been following the the java programming with slick videos a little bit, I tried implementing the menu system into my own code but I'm getting an error at the appgc = new AppGameContainer saying

"Exception in thread "main" java.lang.Error: Unresolved compilation problems:
The constructor AppGameContainer(Game) is undefined
The constructor Game(String) is undefined

at game.Play.main(Play.java:28)"
//for the people that watched the video tutorial, my play class is my game class. they are switched

package game;

import org.newdawn.slick.*;
import org.newdawn.slick.state.*;

public class Play extends StateBasedGame {

public static final String gamename = "game";
public static final int menu = 0;
public static final int game = 1;

public Play(String gamename) {
this.addState(new Menu(menu));
this.addState(new Game(game));

public void initStatesList(GameContainer gc) throws SlickException{
this.getState(menu).init(gc, this);
this.getState(game).init(gc, this);


public static void main(String[] args)  {
AppGameContainer appgc;
appgc = new AppGameContainer(new Game(gamename));
appgc.setDisplayMode(800, 600, false);
catch(SlickException e){