Пример #1
0
 @Override
 public void performAction(Player player, String text) throws Exception {
   player.world = new World();
   player.event =
       new Event(
           player.world.worldType.actions,
           player.name
               + " walked and found "
               + player.world.desc
               + ". What do you do? ("
               + Event.getActions(player.world.worldType.actions)
               + ")",
           player.chat);
   // TODO Make walking have a chance of spawning enemies
 }