public void update(GameContainer gcan, StateBasedGame state, int dtime) throws SlickException { a.update(); b.update(); c.update(); aa.update(); ab.update(); ac.update(); ad.update(); ae.update(); af.update(); ag.update(); ah.update(); if (a.activated()) state.enterState( 0, new FadeOutTransition(Color.black, 250), new FadeInTransition(Color.black, 250)); if (b.activated()) { SessionSettings.ingame = true; state.enterState(1); } }
public void render(GameContainer gcan, StateBasedGame sbgame, Graphics g) throws SlickException { g.drawImage(new Image("res/epoch/placeholder/skyrim.jpg"), 0, 0); g.drawImage(new Image("res/epoch/lobby.png"), 20, 20); g.drawString("Multiplayer:", 175, 610); g.drawString("Chat Log", 155, 84); g.drawString("Game Settings", 1040, 40); g.drawString("Players", 480, 84); g.drawString("Color", 733, 84); g.drawString("Team", 821, 84); g.drawString("NPC", 915, 84); a.render(); b.render(); c.render(); aa.render(); ab.render(); ac.render(); ad.render(); ae.render(); af.render(); ag.render(); ah.render(); }