Eye

Eye

Represents an origin that a Mob can look from. Depends on Hearer

Constructor

new Eye()

Source:

Extends

Members

a

Source:
Inherited From:

atom :Bluespess.Atom

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

xray :boolean

Source:
The server object
Type:
  • boolean

Methods

can_see(item) → {boolean}

Source:
Parameters:
Name Type Description
item Bluespess.Atom
Returns:
Type
boolean

(abstract) destroy()

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

get_netid_for_atom(item) → {string}

Source:
Parameters:
Name Type Description
item Bluespess.Atom
Returns:
Type
string

(generator) observers()

Source:
Returns the mobs that are looking from this mob