setVelocity: setVelocity Generic

Description Usage Arguments

Description

setVelocity Generic

Usage

1
setVelocity(object, velocity)

Arguments

object

An object of class Agent

velocity

A numerical vector of length 2 specifying the velocity in the x- and y-direction of the object of class Agent [Default: c(0, 0)].


mverouden/rsfour documentation built on May 25, 2019, 5:01 a.m.