]>
git.r.bdr.sh - rbdr/sumo/blob - lib/nodes/grabbable.js
fae73263314673ba0eb7cd4db63b477f1e87df83
1 import { Node
} from '@serpentity/serpentity';
3 import BodyComponent
from '../components/body';
4 import GrabbableComponent
from '../components/grabbable';
7 * Node identifying an entity that can grab another
9 * @extends {external:Serpentity.Node}
10 * @class GrabbableNode
12 export default class GrabbableNode
extends Node
{
17 * Holds the types that are used to identify a grabbable entity
19 * @property {object} types
21 * @memberof GrabbableNode
23 GrabbableNode
.types
= {
25 grabbable: GrabbableComponent