Change comment with new message strategy
authorgparant <g.parant@thecodingmachine.com>
Tue, 7 Apr 2020 19:03:33 +0000 (21:03 +0200)
committergparant <g.parant@thecodingmachine.com>
Tue, 7 Apr 2020 19:03:33 +0000 (21:03 +0200)
back/src/Controller/IoSocketController.ts
front/src/Connexion.ts

index aa5dfdc9fe3044b069b68f096de5650165f9129b..24392f09223f04e204761363703fcdd954ef2dda 100644 (file)
@@ -103,7 +103,8 @@ export class IoSocketController{
             roomId: <string>,
             position: {
                 x : <number>,
-                y : <number>
+                y : <number>,
+               direction: <string>
             }
           },
           ...
index 9c6bde058a2bbb799d00d0ecfa77cd9ab7603665..d6f09110a02bbb4a366aa150f163f80a2df01393 100644 (file)
@@ -139,7 +139,8 @@ export class Connexion {
      *       roomId: <string>,
      *       position: {
      *           x : <number>,
-     *           y : <number>
+     *           y : <number>,
+     *           direction: <string>
      *       }
      *     },
      * ...