]>
git.r.bdr.sh - rbdr/sumo/blob - lib/components/max_velocity.js
70bf343a050a47636e9b7ac2dcecec3d3919ffa2
1 import { Component
} from '@serpentity/serpentity';
4 * Component that stores max velocity constraint
6 * @extends {external:Serpentity.Component}
7 * @class MaxVelocityComponent
8 * @param {object} config a configuration object to extend.
10 export default class MaxVelocityComponent
extends Component
{
16 * The properthy that holds the max velocity
18 * @property {number} maxVelocity
20 * @memberof MaxVelocityComponent
22 this.maxVelocity
= this.maxVelocity
|| 20;