blob: ee4d79b0563ef637f88501c374ca39c582ba7ea4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
'use strict';
var EntityBase = require('../entities/entityBase');
var BonusPill = function(game, x, y) {
EntityBase.call(this, game, x, y, 'bonus-pill');
this.score = 10;
};
BonusPill.prototype = Object.create(EntityBase.prototype);
BonusPill.prototype.constructor = BonusPill;
module.exports = BonusPill;
|