From 92923351056ac9af8df9d3e7ff0be862a37af99b Mon Sep 17 00:00:00 2001 From: KOSASIH Date: Sun, 21 Jul 2024 21:49:21 +0700 Subject: [PATCH] Create exoticMatter.js --- utils/exoticMatter.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 utils/exoticMatter.js diff --git a/utils/exoticMatter.js b/utils/exoticMatter.js new file mode 100644 index 0000000..f6b5a17 --- /dev/null +++ b/utils/exoticMatter.js @@ -0,0 +1,13 @@ +// exoticMatter.js +import * as ExoticMatter from 'exotic-matter'; + +const exoticMatterUtils = { + createExoticMatter: (type) => { + return new ExoticMatter.ExoticMatter(type); + }, + manipulateExoticMatter: (exoticMatter, operation) => { + return exoticMatter.manipulate(operation); + }, +}; + +export default exoticMatterUtils;