Take the 2-minute tour ×  I have made a game using Java, my game
is a state based game, so it extends StateBasedGame, I want to
put the game on a website which will require me to make it an
applet (unless there is another way) so it must also extend
JApplet, after trying to extend multiple class's and reading
online I had no luck and read on a forum post that it is not
possible to have multiple extends. Now does this mean that I can
not put my game on a website?  Here is my main class so far, it
extends StateBasedGame:      package javagame;  import
org.newdawn.slick.*; import org.newdawn.slick.state.*;  public
class Game extends StateBasedGame{      public static final
String gamename = "Croft";     public static final int menu = 0;
public static final int play = 1;      public Game(String
gamename){//create window on statup
super(gamename);//adds title to screen         this.addState(new
Menu(menu));//"this" means get from this class
this.addState(new Play(play));      public void initSt