Esempio n. 1
0
     list($response->action, $response->data) = $exits->show();
     break;
 case __('NORTH_VERB'):
 case __('SOUTH_VERB'):
 case __('EAST_VERB'):
 case __('WEST_VERB'):
 case __('UP_VERB'):
 case __('DOWN_VERB'):
 case __('INSIDE_VERB'):
 case __('OUTSIDE_VERB'):
     $exits = new Exits();
     list($response->action, $response->data) = $exits->go_to($verb);
     break;
 case __('INVENTORY_VERB'):
     $inventory = new Inventory();
     list($response->action, $response->data) = $inventory->show();
     break;
 case __('LOOK_VERB'):
     $room = new Room();
     list($response->action, $response->data) = $room->look($words);
     break;
 case __('TAKE_VERB'):
     $room = new Room();
     list($response->action, $response->data) = $room->take($words);
     break;
 case __('TALK_VERB'):
     $talk = new Talk();
     list($response->action, $response->data) = $talk->with($words);
     break;
 case __('DROP_VERB'):
     $inventory = new Inventory();