blob: bf1b9debf8a68aa5f44f1a33ecbcc2c02f7c4e32 (
plain)
1
2
3
4
5
6
7
8
9
|
// Tests Socket.on('tileUpdate')
const Socket = require('../socket');
main = new Socket();
main.on('tileUpdate', (send, source, tiles)=>{ // Should just print a log of any tile updates on the main world
console.log(tiles);
});
|