anchor.diff:        return;
       healthchanged = false;
       
  -    layer.ctx.setFillColor("#000");
  +    layer.ctx.setFillColorRgb(0,0,0);
       layer.ctx.fillRect(labeloffset, 0+labelheight, 22, 6);
       
       int healthw = ((22-2/100) * health).floor().toInt();
  -    layer.ctx.setFillColor("#0f0");
  +    layer.ctx.setFillColorRgb(0,255,0);
       layer.ctx.fillRect(labeloffset+1, 1+labelheight, healthw, 4);
     }
     
  
positive.code:     game.resetLevel();
    }
    
    void update(int lastTime, int looptime)
    {
      // default the player does not move, otherwise use the last move action in the array (see setMove)
      int move = -1;
      if(movepriority.length > 0)
        move = movepriority.last();
      setState(move);
      
      prev_x = x;
  
negative.code: @author Danny Hendrix
  **/
  
  part of Game;
  
  /**
  Player class
  