MagicPingu

data class MagicPingu(var velocity: Double, var acceleration: Double, var jerk: Double)

A data class that represents a MagicPingu with velocity, acceleration, and jerk.

Constructors

Link copied to clipboard
constructor(velocity: Double, acceleration: Double, jerk: Double)

Properties

Link copied to clipboard

The acceleration of the MagicPingu.

Link copied to clipboard

The jerk of the MagicPingu.

Link copied to clipboard

The velocity of the MagicPingu.

Functions

Link copied to clipboard
fun setAcceleration(acceleration: LoggedNetworkNumber)

Sets the acceleration of the MagicPingu.

Link copied to clipboard
fun setJerk(jerk: LoggedNetworkNumber)

Sets the jerk of the MagicPingu.

Link copied to clipboard
fun setVelocity(velocity: LoggedNetworkNumber)

Sets the velocity of the MagicPingu.