Closed jmjpro closed 11 years ago
Pls do a first level review.. Needs to test and I will review as well
Bob & Cervantes animation still runs after level timeout:
The LevelAnimation class can still be instantiated after though you've created getInstance(). If we go to the Singleton with a cached static property example here http://robdodson.me/blog/2012/08/08/javascript-design-patterns-singleton/ we can have a singleton and instantiate via the constructor.
PR comments implemented
looks good. please merge to develop.
merged
Ensure via a global variable/singleton class that animation is only running one one screen at a time.