blob: ff4dd00a112f2cb780415502fc3bfa4307bb7fd1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
import { Node } from '@serpentity/serpentity';
import BodyComponent from '../components/body';
/**
* Node identifying an entity that can interact with physics
*
* @extends {external:Serpentity.Node}
* @class PhysicalNode
*/
export default class PhysicalNode extends Node {
}
/**
* Holds the types that are used to identify an entity with a physical
* body
*
* @property {object} types
* @name types
* @memberof PhysicalNode
*/
PhysicalNode.types = {
body: BodyComponent
};
|