Added the new Timer, TimerEvent and Time methods to the TypeScript definitions files.

This commit is contained in:
photonstorm
2014-01-13 14:18:15 +00:00
parent 35cef4e529
commit c6fa2cb7b6
5 changed files with 59 additions and 115 deletions
+2 -1
View File
@@ -33,7 +33,8 @@ function create() {
sprite.body.bounce.setTo(0.8, 0.8);
//sprite.body.drag.setTo(0, -20);
sprite.body.drag.setTo(10, 10);
// sprite.body.drag.setTo(10, 10);
sprite.body.friction = 0.1;
// sprite.body.sleepMin.setTo(-50, -20);
// sprite.body.sleepMax.setTo(50, 20);