| 1234567891011121314 |
- var Physicist = function(snake, position, delay) {
- this.direction = 0;
- this.position = position;
- this.name = 'Fermi';
- this.bonus = '';
- this.snake = snake;
- this.delay = delay;
- };
- Physicist.prototype.collect = function(collectible) {
- this.bonus += " fat!";
- controller.score += collectible.points;
- controller.remove_collectible(collectible);
- };
|