SHARE
TWEET

Untitled

a guest Jan 12th, 2017 77 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Class pkmn
  2. /*
  3.     Plant > Water > Fire > Ground > Rock > Fly > Plant
  4. */
  5.  
  6. module.exports = class Pkmn {
  7.     constructor(name, atk, def, type) {
  8.         console.log('Pkmn loaded');
  9.  
  10.                 this.name = name;
  11.                 this.atk = atk;
  12.                 this.def = def;
  13.                 this.type = type;
  14.  
  15.  
  16.     }
  17. };
RAW Paste Data
Top