Implement DAS/ARR for smooth horizontal piece movement
This commit is contained in:
@@ -140,6 +140,11 @@ class NetworkManager {
|
||||
this.socket.emit('player-hold', { playerId: this.currentPlayerId });
|
||||
}
|
||||
|
||||
sendZoneActivate() {
|
||||
if (!this.socket || !this.currentPlayerId) return;
|
||||
this.socket.emit('zone-activate', { playerId: this.currentPlayerId });
|
||||
}
|
||||
|
||||
updatePlayers(players) {
|
||||
this.players = {};
|
||||
players.forEach(p => {
|
||||
|
||||
Reference in New Issue
Block a user