summaryrefslogtreecommitdiff
path: root/game/entities/pill.js
blob: af64a4cdada55937d3a24730934439bb552d86b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
'use strict';

var EntityBase = require('../entities/entityBase');

var Pill = function(game, x, y) {
  EntityBase.call(this, game, x, y, 'pill');

  this.score = 1;
};

Pill.prototype = Object.create(EntityBase.prototype);
Pill.prototype.constructor = Pill;

module.exports = Pill;