Permalink
Browse files

Removed preliminary state machine statics. Either go without a state …

…machine or commit to a full overhaul to incorporate a proper state machine.
  • Loading branch information...
1 parent 52330da commit 38760aed2053469e3afffe6eb885b30936955139 John Conomikes committed Sep 21, 2011
Showing with 1 addition and 9 deletions.
  1. +1 −9 src/html5/src/Player.js
View
@@ -38,7 +38,7 @@ var Player = PNode.extend({
turbo : false, // True if turbo boost is currently active
preTurbo : 0, // Holds what the zVelocity was before turbo boosting
turboSpeed : 200, // Turbo boost speed in m/s
-
+
init: function() {
Player.superclass.init.call(this, {xCoordinate:0, zCoordinate: this.get('chaseDist')});
@@ -228,12 +228,4 @@ var Player = PNode.extend({
},
});
-Player.STATE_OFF = 0;
-Player.STATE_READY = 1;
-Player.STATE_RACING = 2;
-Player.STATE_WIPEOUT = 3;
-Player.STATE_TURBO = 4;
-Player.STATE_INTERMISSION = 5;
-Player.STATE_FINISH = 6;
-
exports.Player = Player;

0 comments on commit 38760ae

Please sign in to comment.