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