]> git.r.bdr.sh - rbdr/sumo/blame - lib/nodes/physical.js
Add gamepad support (#10)
[rbdr/sumo] / lib / nodes / physical.js
CommitLineData
493ec31c
RBR
1import { Node } from '@serpentity/serpentity';
2
3import BodyComponent from '../components/body';
4
5/**
6 * Node identifying an entity that can interact with physics
7 *
8 * @extends {external:Serpentity.Node}
9 * @class PhysicalNode
10 */
11export default class PhysicalNode extends Node {
12
13};
14
15/**
16 * Holds the types that are used to identify an entity with a physical
17 * body
18 *
19 * @property {object} types
20 * @name types
21 * @memberof PhysicalNode
22 */
23PhysicalNode.types = {
24 body: BodyComponent
25};
26