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.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.