]> git.r.bdr.sh - rbdr/sumo/blame_incremental - lib/nodes/physical.js
Physics Engine (#4)
[rbdr/sumo] / lib / nodes / physical.js
... / ...
CommitLineData
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