aboutsummaryrefslogtreecommitdiff
path: root/lib/components/grabbable.js
diff options
context:
space:
mode:
authorRubén Beltrán del Río <ben@nsovocal.com>2018-05-28 21:35:38 -0500
committerGitHub <noreply@github.com>2018-05-28 21:35:38 -0500
commit1676911c8a2621274bf75ff7271faa926cf58d6c (patch)
tree776613e919a5fae242ba65f0871028d4c678bcff /lib/components/grabbable.js
parent764ac76aa90b75cd5d79c217220654a6975069af (diff)
Add Grab System (#9)
* Remove unused code * Adds grab components * Adds grab nodes * Add sensors to the physics world * Add grab systems * Add new sprites * Attach grab components * Add grab system to engine * Update changelog
Diffstat (limited to 'lib/components/grabbable.js')
-rw-r--r--lib/components/grabbable.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/components/grabbable.js b/lib/components/grabbable.js
new file mode 100644
index 0000000..223b95c
--- /dev/null
+++ b/lib/components/grabbable.js
@@ -0,0 +1,11 @@
+import { Component } from '@serpentity/serpentity';
+
+/**
+ * Component that stores grab status
+ *
+ * @extends {external:Serpentity.Component}
+ * @class GrabbableComponent
+ * @param {object} config a configuration object to extend.
+ */
+export default class GrabbableComponent extends Component {};
+