Commit 44f7844d by Alexander Bazo

Add missing parameter to GazePoint constructor

parent 75373682
...@@ -5,7 +5,7 @@ const schema = require("@colyseus/schema"), ...@@ -5,7 +5,7 @@ const schema = require("@colyseus/schema"),
class GazePoint extends Schema { class GazePoint extends Schema {
constructor(screenX, screenY, createdAt) { constructor(screenX, screenY, createdAt, color) {
super(); super();
this.screenX = screenX; this.screenX = screenX;
this.screenY = screenY; this.screenY = screenY;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment