Exemplo n.º 1
0
void MainWindow::findItem() {
  if (findChests != NULL) {
    findChests->show();
  } else {
    findChests = new FindChests(world->chests, this);
    findChests->show();
    connect(findChests, SIGNAL(jump(QPointF)),
            ui->map, SLOT(jumpToLocation(QPointF)));
  }
}
Exemplo n.º 2
0
void Functions::actionJumpToLocation(Aurora::NWScript::FunctionContext &ctx) {
	jumpToLocation(ctx);
}