'use strict';
/**
* @author schukai GmbH
*/
import {Monster} from '../namespace.js';
/**
* This is the base class from which all monster classes are derived.
*
* you can call the method via the monster namespace `new Monster.Types.Base()`.
*
* ```
* <script type="module">
* import {Monster} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/Base.js';
* console.log(new Monster.Types.Base())
* console.log(new Monster.Types.Base())
* </script>
* ```
*
* Alternatively, you can also integrate this function individually.
*
* ```
* <script type="module">
* import {Object} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.5.0/dist/modules/types/Base.js';
* console.log(new Base())
* console.log(new Base())
* </script>
* ```
*
* the class was formerly called Object.
*
* @since 1.5.0
* @copyright schukai GmbH
* @memberOf Monster/Types
*/
class Base extends Object {
/**
*
* @returns {string}
*/
toString() {
return JSON.stringify(this);
};
}
Monster.assignToNamespace('Monster.Types', Base);
export {Monster, Base}