client build update

This commit is contained in:
MeexReay 2024-12-22 01:29:44 +03:00
parent 8e007763bf
commit e194968af5
15 changed files with 2050 additions and 8 deletions

View file

@ -1,4 +1,3 @@
class Block {
public x: number
public y: number

View file

@ -11,7 +11,7 @@ var camera = {
}
var chatOpened = false
var chatMessages = []
var chatMessages: string[] = []
var chatTyping = ""
var player = new MainPlayer()

View file

@ -55,8 +55,6 @@ connect_server.onclick = () => {
if (nick.length == 0) return setServerError("введите ник пж")
if (!ip.includes(":")) ip += ":8000"
player.closeConnection()
connectServer(ip, nick)
}

View file

@ -1,3 +1,4 @@
class MainPlayer extends Player {
public conn: Connection | null
public walk_speed: number