Пример #1
0
 public void render(GameContainer container, StateBasedGame game, Graphics g)
     throws SlickException {
   g.setBackground(Color.gray);
   renderText(g);
   Display current = (mode == SINGLETON) ? singleton : indv;
   current.render(container, g);
 }
Пример #2
0
  public void render(GameContainer container, Graphics g) throws SlickException {
    g.setBackground(Color.lightGray);

    display.render(container, g);
  }