|
|
@@ -1,17 +1,9 @@
|
|
|
|
|
|
// This script is the main entry point of the game
|
|
|
-require("AtomicGame");
|
|
|
|
|
|
-Atomic.game.init(start, update);
|
|
|
-
|
|
|
-// called at the start of play
|
|
|
-function start() {
|
|
|
-
|
|
|
- var game = Atomic.game;
|
|
|
-}
|
|
|
-
|
|
|
-// called per frame
|
|
|
+// called per frame, optional
|
|
|
function update(timeStep) {
|
|
|
|
|
|
-
|
|
|
}
|
|
|
+
|
|
|
+exports.update = update;
|