Browse Source

dumb models

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

+ 11 - 0
models/snake.js

@@ -6,3 +6,14 @@ var Snake = function(){
 	this.bonuses = [];
 	this.speed = 1;
 }
+
+Snake.prototype.add_physicist = function(physicist){
+	
+}
+
+Snake.prototype.add_bonus = function(bonus){
+	
+}
+
+Snake.prototype.remove_physicist = function(index){	
+}