Package pu.web.client

Examples of pu.web.client.PU_Creature


    }
  }
 
  public void add(String name, String text)
  {
    PU_Creature sender = PUWeb.map().getCreatureByName(name);
    if(sender == null)
      return;
   
    for(PU_OnscreenChatMessage message : mMessages)
    {
      if(message != null && message.getName().equals(name) && message.getX() == sender.getX() && message.getY() == sender.getY())
      {
        message.addText(text);
        return;
      }
    }
   
    PU_OnscreenChatMessage message = new PU_OnscreenChatMessage(name,sender.getX(), sender.getY());
    message.addText(text);
    mMessages.add(message);
  }
View Full Code Here

TOP

Related Classes of pu.web.client.PU_Creature

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.