Methods
# toString() → {string}
Returns:
- Type
- string
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.23.0/dist/modules/types/base.js';
console.log(new Monster.Types.Base())
</script>
Alternatively, you can also integrate this function individually.
<script type="module">
import {Base} from 'https://cdn.jsdelivr.net/npm/@schukai/monster@1.23.0/dist/modules/types/base.js';
console.log(new Base())
</script>
The class was formerly called Object.