given_ActionAlgebra_IO_Agent

io.github.srs.model.entity.dynamicentity.agent.Agent.given_ActionAlgebra_IO_Agent

Attributes

Graph
Supertypes
trait ActionAlgebra[IO, Agent]
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

override def moveWheels(agent: Agent, leftSpeed: Double, rightSpeed: Double): IO[Agent]

Moves the wheels of the given dynamic entity by applying specified speeds to the left and right wheels.

Moves the wheels of the given dynamic entity by applying specified speeds to the left and right wheels.

Value parameters

e

the dynamic entity whose wheels are to be moved.

leftSpeed

the speed to apply to the left wheel.

rightSpeed

the speed to apply to the right wheel.

Attributes

Returns

an effectful computation resulting in the dynamic entity after the movement action is applied.

Definition Classes