Add functional pos

This commit is contained in:
2024-04-11 15:57:45 +02:00
parent bcbc644fcf
commit 5df0b76f1b
3 changed files with 14 additions and 4 deletions

View File

@@ -234,4 +234,9 @@ void MainWindow::handleMessage(const std::string& message)
{
this->turnOnTheWindow();
}
else if (list[2] == "set pos")
{
auto msg = TCPSocket::split(list[3], ";");
this->inGame->updatePos(msg[0], msg[1]);
}
}