anchor.diff:  part of dartrocket;
  +
  +/**
  + * Game class is the main entry point of the game framework.
  + * 
  + * You have to call [new Game] with proper parameters to start it.
  + * Parameters:
  + * * canvasID: ID of the canvas without the #(hasmark)
  + * * webGL: use WebGL renderer?
  + * * framerate: framerate of the game
  + * * color: backgroundcolor of the stage
  + * 
  + * Game has built in members that helps you acces different classes through
  + * your own Game object.
  + * Members:
  + * * canvas: the canvas element that we are using
  + * * stage: [StageXL.Stage]
  + * * renderLoop: [StageXL.RenderLoop]
  + * * resourceManager: [StageXL.ResourceManager]
  + * * stateManager: [StateManager]
  + * 
  + * The Game is based on the stateManager,which helps you break up your game into 
  + * states, so you wont have one big pile of code.
  + * In your game's main Dart file you only have to deal with managing the statets.
  + *  
  + * Your main file should look something like this:
  + *     void main(){
  + *       Game game = new Game("canvas");
  + *       
  + *       //Add states to the stateManager
  + *       game.stateManager.addStateMap({
  + *         "first": new First("first", "second"),
  + *         "second": new Second("second", "third"),
  + *         "third": new Third("third")
  + *       });
  + *       
  + *       //Start the first state
  + *       game.stateManager.initState("first");
  + *     }
  + * 
  + * This makes the main file pretty clean. :D
  + *     
  + * */
   
   class Game {
   
  
positive.code:     stage.focus = stage;
    }
    
    void addDataMap(Map<String,String> dataMap){
      dataMap.forEach((name,url){
        resourceManager.addBitmapData(name, url);
      });
    }
  
negative.code:   StageXL.ResourceManager resourceManager;
    StateManager stateManager;
  
    Game(String canvasID, {bool webGL: true, int frameRate: 30, int color:
        StageXL.Color.Black}) {
      canvas = querySelector('#$canvasID');
      stage = new StageXL.Stage(canvas, webGL: webGL, frameRate: frameRate, color:
          color);
      renderLoop = new StageXL.RenderLoop();
      resourceManager = new StageXL.ResourceManager();
      stateManager = new StateManager(this);
  