[wip] local ~= ok, colision = ok, queue != ok, front (looks) = ok, sock Shapes ~= ok (missing new shapes)
This commit is contained in:
parent
0033956ca1
commit
dded33f5fa
12 changed files with 243 additions and 172 deletions
|
|
@ -5,8 +5,8 @@ import { getUser } from "@app/auth";
|
|||
/**
|
||||
* function sends socket.emit to the backend to active and a broadcast message to all sockets
|
||||
* echos addPongMessage() the message with addMessage to the sender
|
||||
* @param socket
|
||||
* @param msgCommand
|
||||
* @param socket
|
||||
* @param msgCommand
|
||||
*/
|
||||
export function broadcastMsg (socket: Socket, msgCommand: string[]): void {
|
||||
let msgText = msgCommand[1] ?? "";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue