Client

Client

new Client()

Source:

Members

key :string

Source:
Type:
  • string

mob :Bluespess.Atom.<Mob>|null

Source:
The mob currently being controlled by the client
Type:

name :string

Source:
Type:
  • string

next_message :Object

Source:
An object containing some of the message to be sent on the next network tick. Add properties to this object to send things to the client.
Type:
  • Object

panels :Map.<string, Bluespess.Panel>

Source:
All the panels currently open
Type:

server :Bluespess

Source:
Type:

Events

click_on

Source:
Event name is prepended with, if applicable: ctrl_, alt_, shift_, middle_ in that order.
Type:

keydown

Source:
Properties:
Name Type Description
which number keycode
Type:
  • Object

keyup

Source:
Properties:
Name Type Description
which number keycode
Type:
  • Object

message

Source:
Type:
  • Object

message_pre

Source:
Type:
  • Object

mouse_dragged

Source:
Properties:
Name Type Description
from mouse_event
to mouse_event
Type:
  • Object