Mob

Mob

The ability to be posessed by a client

Constructor

new Mob()

Source:

Extends

Members

a

Source:
Inherited From:

atom :Bluespess.Atom

Source:
Inherited From:
The atom this component belongs to
Type:

client :Client

Source:
Type:

eyes :Object.<string, Bluespess.Atom.<Mob>>

Source:
Type:

key :string

Source:
See:
Type:
  • string

Methods

bind_panel(atom, panel, keyopt)

Source:
Binds the panel to this mob and the panel.
Parameters:
Name Type Attributes Default Description
atom Bluespess.Atom
panel Bluespess.Panel
key string <optional>
""

(abstract) can_interact_with_panel(atom, panel, key) → {boolean}

Source:
Parameters:
Name Type Default Description
atom Bluespess.Atom
panel Bluespess.Panel | Constructor
key string ""
Returns:
Type
boolean

(abstract) can_read_panel(atom, panel, key) → {boolean}

Source:
Parameters:
Name Type Default Description
atom Bluespess.Atom
panel Bluespess.Panel | Constructor
key string ""
Returns:
Type
boolean

(abstract) destroy()

Source:
Inherited From:
Called when the atom this component belongs to is destroyed.

get_eyeid_for_eye(eye) → {string}

Source:
Parameters:
Name Type Description
eye Bluespess.Atom.<Eye>
Returns:
Type
string

get_panel(atom, panel, keyopt)

Source:
Binds the panel to this mob and the panel.
Parameters:
Name Type Attributes Default Description
atom Bluespess.Atom
panel Constructor
key string <optional>
""

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