Class: Ripple

Ripple~ Ripple


new Ripple()

Source:

Methods


createRumor(witness, target, perp, action) → {Object}

Parameters:
Name Type Description
witness any

The Entity that witnessed the action

target any

The Entity that was the receiver of the action

perp any

The perpetrator of the action

action any

the actual action

Source:
Returns:

Possible values of action are:

  • killed
Type
Object

createRumor(witness, target, perp, action) → {Object}

Parameters:
Name Type Description
witness any

The Entity that witnessed the action

target any

The Entity that was the receiver of the action

perp any

The perpetrator of the action

action any

the actual action

Source:
Returns:

Possible values of action are:

  • killed
Type
Object

getNearbyRep(point, k)

Get the average reputation of the k nearest entities.

Parameters:
Name Type Description
point Entity
k number
Source:

getNearbyRep(point, k)

Get the average reputation of the k nearest entities.

Parameters:
Name Type Description
point Entity
k number
Source:

triggerConversation(e)

Parameters:
Name Type Description
e any
Deprecated:
  • Yes
Source:

triggerConversation(e)

Parameters:
Name Type Description
e any
Deprecated:
  • Yes
Source:

Class: Ripple

Ripple~ Ripple


new Ripple()

Source:

Methods


createRumor(witness, target, perp, action) → {Object}

Parameters:
Name Type Description
witness any

The Entity that witnessed the action

target any

The Entity that was the receiver of the action

perp any

The perpetrator of the action

action any

the actual action

Source:
Returns:

Possible values of action are:

  • killed
Type
Object

createRumor(witness, target, perp, action) → {Object}

Parameters:
Name Type Description
witness any

The Entity that witnessed the action

target any

The Entity that was the receiver of the action

perp any

The perpetrator of the action

action any

the actual action

Source:
Returns:

Possible values of action are:

  • killed
Type
Object

getNearbyRep(point, k)

Get the average reputation of the k nearest entities.

Parameters:
Name Type Description
point Entity
k number
Source:

getNearbyRep(point, k)

Get the average reputation of the k nearest entities.

Parameters:
Name Type Description
point Entity
k number
Source:

triggerConversation(e)

Parameters:
Name Type Description
e any
Deprecated:
  • Yes
Source:

triggerConversation(e)

Parameters:
Name Type Description
e any
Deprecated:
  • Yes
Source: