build/app.js
/**
   * Toggles a scared ghost between blue and white, then updates its spritsheet
   */
Toggles a scared ghost between blue and white, then updates its spritsheet
Toggles a scared ghost between blue and white then updates its spritsheet
toggleScaredColor() {
    this.scaredColor = (this.scaredColor === 'blue')
      ? 'white' : 'blue';
    this.setSpriteSheet(this.name, this.direction, this.mode);
  }
toggleScaredColor ( ) { this . scaredColor = ( this . scaredColor === 'blue' ) ? 'white' : 'blue' ; this . setSpriteSheet ( this . name , this . direction , this . mode ) ; }
Toggles a scared ghost between blue and white, then updates its spritsheet
Toggles a scared ghost between blue and white then updates its spritsheet