minimal.js 379 B

12345678910111213141516171819202122
  1. this.initialize = function () {
  2. this.run();
  3. }
  4. this.run = function () {
  5. this.timeCount = this.time;
  6. console.log(this.timeCount);
  7. this.future(1).run();
  8. }
  9. this.incClicks = function () {
  10. this.clicks = this.clicks + 1
  11. }
  12. this.decClicks = function () {
  13. this.clicks = this.clicks - 1
  14. }
  15. this.getRandom = function () {
  16. this.randomNumber = this.random();
  17. }