Exemple #1
0
 public void updateMessage(String message, GuiChat chat) {
   chat.message = message;
   updateCursor(chat.cursorPosition, chat);
 }
Exemple #2
0
 public void updateCursor(int position, GuiChat chat) {
   chat.cursorPosition = checkCursor(chat.message, position);
 }