Methods
-
createRumor(witness, target, perp, action) → {Object}
-
Parameters:
Name Type Description witnessany The
Entitythat witnessed the actiontargetany The
Entitythat was the receiver of the actionperpany The perpetrator of the action
actionany the actual action
- Source:
Returns:
Possible values of
actionare:killed
- Type
- Object
-
createRumor(witness, target, perp, action) → {Object}
-
Parameters:
Name Type Description witnessany The
Entitythat witnessed the actiontargetany The
Entitythat was the receiver of the actionperpany The perpetrator of the action
actionany the actual action
- Source:
Returns:
Possible values of
actionare:killed
- Type
- Object
-
getNearbyRep(point, k)
-
Get the average reputation of the k nearest entities.
Parameters:
Name Type Description pointEntity knumber - Source:
-
getNearbyRep(point, k)
-
Get the average reputation of the k nearest entities.
Parameters:
Name Type Description pointEntity knumber - Source:
-
triggerConversation(e)
-
Parameters:
Name Type Description eany - Deprecated:
-
- Yes
- Source:
-
triggerConversation(e)
-
Parameters:
Name Type Description eany - Deprecated:
-
- Yes
- Source: