'use strict'; /** * @module entity/Monster */ let NPC = require('./NPC'); /** * * * @param {any} x * @param {any} y * @param {any} key * @constructor Monster */ function Monster(x, y, key) { NPC.call(this, x, y, key); /** * @todo(anand): As of now, nothing. Need to add Attributes */ /** * Type of Entity */ this.type = 'monster'; this.reputation = -0.25; this.dislike = ['npc']; } Monster.prototype = Object.create(NPC.prototype); Monster.prototype.constructor = Monster; module.exports = Monster;