Browse Source

ph models

eraisedtoipi 10 năm trước cách đây
mục cha
commit
2ed65f37b2
1 tập tin đã thay đổi với 11 bổ sung0 xóa
  1. 11 0
      models/physicist.js

+ 11 - 0
models/physicist.js

@@ -0,0 +1,11 @@
+var Physicist = function(snake, position) {
+	this.direction = 0;
+	this.position = position;
+	this.name = 'Fermi';
+	this.bonus = '';
+	this.snake = snake;
+};
+
+Physicist.prototype.catch = function(collectible) {
+
+};