]> git.r.bdr.sh - rbdr/sumo/blame_incremental - lib/nodes/limited_velocity.js
Add Naive Game Rules (#11)
[rbdr/sumo] / lib / nodes / limited_velocity.js
... / ...
CommitLineData
1import { Node } from '@serpentity/serpentity';
2
3import BodyComponent from '../components/body';
4import MaxVelocityComponent from '../components/max_velocity';
5
6/**
7 * Node identifying an entity that is a limited velocity physical body
8 *
9 * @extends {external:Serpentity.Node}
10 * @class LimitedVelocityNode
11 */
12export default class LimitedVelocityNode extends Node {
13
14};
15
16/**
17 * Holds the types that are used to identify a limited velocity entity
18 *
19 * @property {object} types
20 * @name types
21 * @memberof LimitedVelocityNode
22 */
23LimitedVelocityNode.types = {
24 body: BodyComponent,
25 maxVelocity: MaxVelocityComponent
26};