Guest User

Untitled

a guest
Nov 18th, 2017
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. startGame(){
  2.  
  3. //1-ый вариант
  4.  
  5. this.matrix = this.model.createChangeMatrix(this.matrix, this.row, this.column, null, null);
  6. return this.matrix;
  7.  
  8.  
  9.  
  10. //2-ой вариант
  11.  
  12. this.flagGame = setInterval(function() {
  13. this.matrix = this.model.createChangeMatrix(this.matrix, this.row, this.column, null, null);
  14. return this.matrix;
  15. },1000);
  16.  
  17.  
  18. }
Add Comment
Please, Sign In to add comment