1     /**
2         The ApplicationManager is used to manage the application itself.
3         @author <a href="mailto:matthewcasperson@gmail.com">Matthew Casperson</a>
4         @class
5     */
6     function ApplicationManager()
7     {
8         /**
9             Initialises this object
10            @return A reference to the initialised object
11        */
12        this.startupApplicationManager = function()
13        {
14          this.background3 = new RepeatingGameObject().startupRepeatingGameObject(g_back2, 0, 100, 3, 600, 320, 1);
15            this.background2 = new RepeatingGameObject().startupRepeatingGameObject(g_back1, 0, 100, 2, 600, 320, 0.75);
16            this.background = new RepeatingGameObject().startupRepeatingGameObject(g_back0, 0, 0, 1, 600, 320, 0.5);
17            this.runner = new Player().startupPlayer();
18            return this;
19        }
20    }

Top