blob: 2940ae9ab53432f422f912432ba720245cc7305f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
'use strict'
const Operator = require('../operator')
function OperatorK (orca, x, y, passive) {
Operator.call(this, orca, x, y, 'k', passive)
this.name = 'kill'
this.info = 'Kills southward operator.'
this.ports.output = { x: 0, y: 1 }
this.haste = function () {
this.output('.')
}
}
module.exports = OperatorK
|