From 5f6ef99eae91f53239f08143cead1249893fef81 Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Mon, 6 May 2024 22:28:48 +0200 Subject: Initial commit --- lib/nodes/drawable.js | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 lib/nodes/drawable.js (limited to 'lib/nodes/drawable.js') diff --git a/lib/nodes/drawable.js b/lib/nodes/drawable.js new file mode 100644 index 0000000..77fd969 --- /dev/null +++ b/lib/nodes/drawable.js @@ -0,0 +1,9 @@ +import Position from '@serpentity/components.position'; +import Color from '../components/color'; +import { Node } from '@serpentity/serpentity'; + +export default class Drawable extends Node {}; +Drawable.types = { + position: Position, + color: Color +} -- cgit