DesCmdLight

class mobrob_behcon.desires.desires.DesCmdLight(value, strength)[source]

Methods

__init__(value, strength)

Construct a new 'Desire' object.

set_priority(priority)

Setter for attribute priority

Details

__init__(value, strength)[source]

Construct a new ‘Desire’ object.

Parameters
  • value – the numberic value of the desire, can be also be a array/list

  • strength – the strength of the desire

  • function – the function need to be executed when desire is accepted (optional)

Returns

returns nothing

set_priority(priority)

Setter for attribute priority

Parameters

priority – priority to be set

Returns

returns nothing