Description Usage Arguments Methods (by class)
Generic function to reset the activity of an object of class Agent.
1 2 3 4 5 6 7 | resetActivity(object, value)
## S4 method for signature 'Agent,logical'
resetActivity(object, value)
## S4 method for signature 'Agent,numeric'
resetActivity(object, value)
|
object |
An object of class Agent |
value |
Possible values:
|
object = Agent,value = logical
: Reset the active slot to the specified value and reset the velocity slot to c(0, 0).
object = Agent,value = numeric
: Reset the velocity slot to the specified values and reset the active slot to TRUE.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.