client build update
This commit is contained in:
parent
8e007763bf
commit
e194968af5
15 changed files with 2050 additions and 8 deletions
|
@ -1,4 +1,3 @@
|
|||
|
||||
class Block {
|
||||
public x: number
|
||||
public y: number
|
||||
|
|
|
@ -11,7 +11,7 @@ var camera = {
|
|||
}
|
||||
|
||||
var chatOpened = false
|
||||
var chatMessages = []
|
||||
var chatMessages: string[] = []
|
||||
var chatTyping = ""
|
||||
|
||||
var player = new MainPlayer()
|
||||
|
|
|
@ -55,8 +55,6 @@ connect_server.onclick = () => {
|
|||
if (nick.length == 0) return setServerError("введите ник пж")
|
||||
if (!ip.includes(":")) ip += ":8000"
|
||||
|
||||
player.closeConnection()
|
||||
|
||||
connectServer(ip, nick)
|
||||
}
|
||||
|
|
@ -1,3 +1,4 @@
|
|||
|
||||
class MainPlayer extends Player {
|
||||
public conn: Connection | null
|
||||
public walk_speed: number
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue