Package games.stendhal.client.gui.chatlog

Examples of games.stendhal.client.gui.chatlog.StandardHeaderedEventLine


  }

  // TODO: this is just an ugly workaround to avoid cyclic dependencies with
  // Creature
  protected void nonCreatureClientAddEventLine(final String text) {
    ClientSingletonRepository.getUserInterface().addEventLine(new StandardHeaderedEventLine(getTitle(), text));
  }
View Full Code Here


            ClientSingletonRepository.getUserInterface().addEventLine(new HeaderLessEventLine(text, type));

          } else if (event.getName().equals("text")) {

            // public chat
            ClientSingletonRepository.getUserInterface().addEventLine(new StandardHeaderedEventLine(name, event.get("text")));
          }
        }

        // old style text attribute
        if (object.has("text")) {
          ClientSingletonRepository.getUserInterface().addEventLine(new StandardHeaderedEventLine(name, object.get("text")));
        }
      }
    } catch (final Exception e) {
      e.printStackTrace();
    }
View Full Code Here

TOP

Related Classes of games.stendhal.client.gui.chatlog.StandardHeaderedEventLine

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.