Пример #1
0
 @Override
 public void fire(Player player, Sentence sentence, EventRaiser npc) {
   if (board.getPlayerName() != null) {
     npc.say(
         "Sorry, "
             + player.getName()
             + " there is already a game in progress. Please wait a little.");
     return;
   }
   board.setPlayerName(player.getName());
 }
 @Override
 public void fire(final Player player, final Sentence sentence, final EventRaiser raiser) {
   raiser.say("!me " + npcAction + " " + player.getName());
 }