]>
git.r.bdr.sh - rbdr/sumo/blob - lib/nodes/limited_velocity.js
554f68c6c48d788a990d838d1fd0a4b8db947ec7
1 import { Node
} from '@serpentity/serpentity';
3 import BodyComponent
from '../components/body';
4 import MaxVelocityComponent
from '../components/max_velocity';
7 * Node identifying an entity that is a limited velocity physical body
9 * @extends {external:Serpentity.Node}
10 * @class LimitedVelocityNode
12 export default class LimitedVelocityNode
extends Node
{
17 * Holds the types that are used to identify a limited velocity entity
19 * @property {object} types
21 * @memberof LimitedVelocityNode
23 LimitedVelocityNode
.types
= {
25 maxVelocity: MaxVelocityComponent