given_ActionAlg_IO_Robot

io.github.srs.model.entity.dynamicentity.Robot.given_ActionAlg_IO_Robot

Attributes

Graph
Supertypes
trait ActionAlg[IO, Robot]
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

override def moveWheels(robot: Robot, leftSpeed: Double, rightSpeed: Double): IO[Robot]

Moves the dynamic entity wheels with the specified speeds.

Moves the dynamic entity wheels with the specified speeds.

Value parameters

e

the dynamic entity on which the action will be executed.

leftSpeed

the speed to apply to the left wheel.

rightSpeed

the speed to apply to the right wheel.

Attributes

Returns

an effectful computation that results in the dynamic entity after the wheels have been moved.

Definition Classes