import Up from '../components/up';
import Configuration from '../components/configuration';
+/**
+ * This file is a factory for global objects. It doesn't enforce it, but
+ * there should be only one of these entities in the engine at a given
+ * time.
+ */
+
+/**
+ * Creates a data entity that holds the configuration.
+ */
export function configuration() {
const entity = new Entity();
return entity;
}
+/**
+ * Creates a camera, used to modify the 3D view.
+ */
export function camera() {
const entity = new Entity();