Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Class pkmn
- /*
- Plant > Water > Fire > Ground > Rock > Fly > Plant
- */
- module.exports = class Pkmn {
- constructor(name, atk, def, type) {
- console.log('Pkmn loaded');
- this.name = name;
- this.atk = atk;
- this.def = def;
- this.type = type;
- }
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement