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