| 12345678910111213 |
- 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);
- };
|