Merge branch 'master' into webrtc
# Conflicts: # back/src/Model/Websocket/MessageUserPosition.ts
@ -8,7 +8,8 @@
|
||||
"dev": "ts-node-dev --respawn --transpileOnly ./server.ts",
|
||||
"prod": "tsc && node ./dist/server.js",
|
||||
"test": "ts-node node_modules/jasmine/bin/jasmine --config=jasmine.json",
|
||||
"lint": "node_modules/.bin/eslint src/ . --ext .ts"
|
||||
"lint": "node_modules/.bin/eslint src/ . --ext .ts",
|
||||
"fix": "node_modules/.bin/eslint src/ . --ext .ts"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -4,7 +4,7 @@ import { UserInterface } from "./UserInterface";
|
||||
|
||||
export class Group {
|
||||
static readonly MAX_PER_GROUP = 4;
|
||||
|
||||
|
||||
private users: UserInterface[];
|
||||
private connectCallback: (user1: string, user2: string) => void;
|
||||
private disconnectCallback: (user1: string, user2: string) => void;
|
||||
@ -14,7 +14,7 @@ export class Group {
|
||||
this.users = [];
|
||||
this.connectCallback = connectCallback;
|
||||
this.disconnectCallback = disconnectCallback;
|
||||
|
||||
|
||||
users.forEach((user: UserInterface) => {
|
||||
this.join(user);
|
||||
});
|
||||
@ -62,7 +62,7 @@ export class Group {
|
||||
|
||||
removeFromGroup(users: UserInterface[]): void
|
||||
{
|
||||
for(let i = 0; i < users.length; i++) {
|
||||
for(let i = 0; i < users.length; i++){
|
||||
let user = users[i];
|
||||
const index = this.users.indexOf(user, 0);
|
||||
if (index > -1) {
|
||||
@ -70,4 +70,4 @@ export class Group {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -41,4 +41,4 @@ export class MessageUserPosition extends Message{
|
||||
})
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
BIN
front/dist/resources/characters/pipoya/Cat 01-1.png
vendored
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
front/dist/resources/characters/pipoya/Cat 01-2.png
vendored
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
front/dist/resources/characters/pipoya/Cat 01-3.png
vendored
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
front/dist/resources/characters/pipoya/Dog 01-1.png
vendored
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
front/dist/resources/characters/pipoya/Dog 01-2.png
vendored
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
front/dist/resources/characters/pipoya/Dog 01-3.png
vendored
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
front/dist/resources/characters/pipoya/Female 01-1.png
vendored
Normal file
After Width: | Height: | Size: 3.0 KiB |
BIN
front/dist/resources/characters/pipoya/Female 01-2.png
vendored
Normal file
After Width: | Height: | Size: 3.0 KiB |
BIN
front/dist/resources/characters/pipoya/Female 01-3.png
vendored
Normal file
After Width: | Height: | Size: 3.0 KiB |
BIN
front/dist/resources/characters/pipoya/Female 01-4.png
vendored
Normal file
After Width: | Height: | Size: 3.0 KiB |
BIN
front/dist/resources/characters/pipoya/Female 02-1.png
vendored
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
front/dist/resources/characters/pipoya/Female 02-2.png
vendored
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
front/dist/resources/characters/pipoya/Female 02-3.png
vendored
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
front/dist/resources/characters/pipoya/Female 02-4.png
vendored
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
front/dist/resources/characters/pipoya/Female 03-1.png
vendored
Normal file
After Width: | Height: | Size: 3.2 KiB |
BIN
front/dist/resources/characters/pipoya/Female 03-2.png
vendored
Normal file
After Width: | Height: | Size: 3.2 KiB |
BIN
front/dist/resources/characters/pipoya/Female 03-3.png
vendored
Normal file
After Width: | Height: | Size: 3.2 KiB |
BIN
front/dist/resources/characters/pipoya/Female 03-4.png
vendored
Normal file
After Width: | Height: | Size: 3.2 KiB |
BIN
front/dist/resources/characters/pipoya/Female 04-1.png
vendored
Normal file
After Width: | Height: | Size: 3.0 KiB |
BIN
front/dist/resources/characters/pipoya/Female 04-2.png
vendored
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
front/dist/resources/characters/pipoya/Female 04-3.png
vendored
Normal file
After Width: | Height: | Size: 3.0 KiB |
BIN
front/dist/resources/characters/pipoya/Female 04-4.png
vendored
Normal file
After Width: | Height: | Size: 3.0 KiB |
BIN
front/dist/resources/characters/pipoya/Female 05-1.png
vendored
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
front/dist/resources/characters/pipoya/Female 05-2.png
vendored
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
front/dist/resources/characters/pipoya/Female 05-3.png
vendored
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
front/dist/resources/characters/pipoya/Female 05-4.png
vendored
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
front/dist/resources/characters/pipoya/Female 06-1.png
vendored
Normal file
After Width: | Height: | Size: 3.2 KiB |
BIN
front/dist/resources/characters/pipoya/Female 06-2.png
vendored
Normal file
After Width: | Height: | Size: 3.2 KiB |
BIN
front/dist/resources/characters/pipoya/Female 06-3.png
vendored
Normal file
After Width: | Height: | Size: 3.2 KiB |
BIN
front/dist/resources/characters/pipoya/Female 06-4.png
vendored
Normal file
After Width: | Height: | Size: 3.2 KiB |
BIN
front/dist/resources/characters/pipoya/Female 07-1.png
vendored
Normal file
After Width: | Height: | Size: 3.5 KiB |
BIN
front/dist/resources/characters/pipoya/Female 07-2.png
vendored
Normal file
After Width: | Height: | Size: 3.5 KiB |
BIN
front/dist/resources/characters/pipoya/Female 07-3.png
vendored
Normal file
After Width: | Height: | Size: 3.5 KiB |
BIN
front/dist/resources/characters/pipoya/Female 07-4.png
vendored
Normal file
After Width: | Height: | Size: 3.5 KiB |
BIN
front/dist/resources/characters/pipoya/Female 08-1.png
vendored
Normal file
After Width: | Height: | Size: 3.4 KiB |
BIN
front/dist/resources/characters/pipoya/Female 08-2.png
vendored
Normal file
After Width: | Height: | Size: 3.4 KiB |
BIN
front/dist/resources/characters/pipoya/Female 08-3.png
vendored
Normal file
After Width: | Height: | Size: 3.4 KiB |
BIN
front/dist/resources/characters/pipoya/Female 08-4.png
vendored
Normal file
After Width: | Height: | Size: 3.4 KiB |
BIN
front/dist/resources/characters/pipoya/Female 09-1.png
vendored
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
front/dist/resources/characters/pipoya/Female 09-2.png
vendored
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
front/dist/resources/characters/pipoya/Female 09-3.png
vendored
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
front/dist/resources/characters/pipoya/Female 09-4.png
vendored
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
front/dist/resources/characters/pipoya/Female 10-1.png
vendored
Normal file
After Width: | Height: | Size: 2.9 KiB |
BIN
front/dist/resources/characters/pipoya/Female 10-2.png
vendored
Normal file
After Width: | Height: | Size: 2.9 KiB |
BIN
front/dist/resources/characters/pipoya/Female 10-3.png
vendored
Normal file
After Width: | Height: | Size: 2.9 KiB |
BIN
front/dist/resources/characters/pipoya/Female 10-4.png
vendored
Normal file
After Width: | Height: | Size: 2.9 KiB |
BIN
front/dist/resources/characters/pipoya/Female 11-1.png
vendored
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
front/dist/resources/characters/pipoya/Female 11-2.png
vendored
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
front/dist/resources/characters/pipoya/Female 11-3.png
vendored
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
front/dist/resources/characters/pipoya/Female 11-4.png
vendored
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
front/dist/resources/characters/pipoya/Female 12-1.png
vendored
Normal file
After Width: | Height: | Size: 3.2 KiB |
BIN
front/dist/resources/characters/pipoya/Female 12-2.png
vendored
Normal file
After Width: | Height: | Size: 3.3 KiB |
BIN
front/dist/resources/characters/pipoya/Female 12-3.png
vendored
Normal file
After Width: | Height: | Size: 3.2 KiB |
BIN
front/dist/resources/characters/pipoya/Female 12-4.png
vendored
Normal file
After Width: | Height: | Size: 3.2 KiB |
BIN
front/dist/resources/characters/pipoya/Female 13-1.png
vendored
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
front/dist/resources/characters/pipoya/Female 13-2.png
vendored
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
front/dist/resources/characters/pipoya/Female 13-3.png
vendored
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
front/dist/resources/characters/pipoya/Female 13-4.png
vendored
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
front/dist/resources/characters/pipoya/Female 14-1.png
vendored
Normal file
After Width: | Height: | Size: 2.9 KiB |
BIN
front/dist/resources/characters/pipoya/Female 14-2.png
vendored
Normal file
After Width: | Height: | Size: 2.9 KiB |
BIN
front/dist/resources/characters/pipoya/Female 14-3.png
vendored
Normal file
After Width: | Height: | Size: 2.9 KiB |
BIN
front/dist/resources/characters/pipoya/Female 14-4.png
vendored
Normal file
After Width: | Height: | Size: 2.9 KiB |
BIN
front/dist/resources/characters/pipoya/Female 15-1.png
vendored
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
front/dist/resources/characters/pipoya/Female 15-2.png
vendored
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
front/dist/resources/characters/pipoya/Female 15-3.png
vendored
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
front/dist/resources/characters/pipoya/Female 15-4.png
vendored
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
front/dist/resources/characters/pipoya/Female 16-1.png
vendored
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
front/dist/resources/characters/pipoya/Female 16-2.png
vendored
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
front/dist/resources/characters/pipoya/Female 16-3.png
vendored
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
front/dist/resources/characters/pipoya/Female 16-4.png
vendored
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
front/dist/resources/characters/pipoya/Female 17-1.png
vendored
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
front/dist/resources/characters/pipoya/Female 17-2.png
vendored
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
front/dist/resources/characters/pipoya/Female 17-3.png
vendored
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
front/dist/resources/characters/pipoya/Female 17-4.png
vendored
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
front/dist/resources/characters/pipoya/Female 18-1.png
vendored
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
front/dist/resources/characters/pipoya/Female 18-2.png
vendored
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
front/dist/resources/characters/pipoya/Female 18-3.png
vendored
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
front/dist/resources/characters/pipoya/Female 18-4.png
vendored
Normal file
After Width: | Height: | Size: 2.5 KiB |
BIN
front/dist/resources/characters/pipoya/Female 19-1.png
vendored
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
front/dist/resources/characters/pipoya/Female 19-2.png
vendored
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
front/dist/resources/characters/pipoya/Female 19-3.png
vendored
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
front/dist/resources/characters/pipoya/Female 19-4.png
vendored
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
front/dist/resources/characters/pipoya/Female 20-1.png
vendored
Normal file
After Width: | Height: | Size: 2.4 KiB |
BIN
front/dist/resources/characters/pipoya/Female 20-2.png
vendored
Normal file
After Width: | Height: | Size: 2.4 KiB |
BIN
front/dist/resources/characters/pipoya/Female 20-3.png
vendored
Normal file
After Width: | Height: | Size: 2.4 KiB |
BIN
front/dist/resources/characters/pipoya/Female 20-4.png
vendored
Normal file
After Width: | Height: | Size: 2.4 KiB |
BIN
front/dist/resources/characters/pipoya/Female 21-1.png
vendored
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
front/dist/resources/characters/pipoya/Female 21-2.png
vendored
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
front/dist/resources/characters/pipoya/Female 21-3.png
vendored
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
front/dist/resources/characters/pipoya/Female 21-4.png
vendored
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
front/dist/resources/characters/pipoya/Female 22-1.png
vendored
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
front/dist/resources/characters/pipoya/Female 22-2.png
vendored
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
front/dist/resources/characters/pipoya/Female 22-3.png
vendored
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
front/dist/resources/characters/pipoya/Female 22-4.png
vendored
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
front/dist/resources/characters/pipoya/Female 23-1.png
vendored
Normal file
After Width: | Height: | Size: 3.4 KiB |
BIN
front/dist/resources/characters/pipoya/Female 24-1.png
vendored
Normal file
After Width: | Height: | Size: 3.0 KiB |
BIN
front/dist/resources/characters/pipoya/Female 25-1.png
vendored
Normal file
After Width: | Height: | Size: 2.5 KiB |