private void initTreeMap(){
  if (entityType == null) {
    entityType="Mouse";
  }
  if (entityType.equalsIgnoreCase("Circle")) {
    imageMap=RotatingEntityManager.getCircle();
  }
  if (entityType.equalsIgnoreCase("Mouse")) {
    imageMap=RotatingEntityManager.getMouse();
  }
 else   if (entityType.equalsIgnoreCase("Amy")) {
    imageMap=RotatingEntityManager.getRotatingTileset("amy",20);
  }
 else   if (entityType.equalsIgnoreCase("Arnold")) {
    imageMap=RotatingEntityManager.getRotatingTileset("arno",20);
  }
 else   if (entityType.equalsIgnoreCase("Boy")) {
    imageMap=RotatingEntityManager.getRotatingTileset("boy",20);
  }
 else   if (entityType.equalsIgnoreCase("Cow")) {
    imageMap=RotatingEntityManager.getRotatingTileset("cow",25);
  }
 else   if (entityType.equalsIgnoreCase("Girl")) {
    imageMap=RotatingEntityManager.getRotatingTileset("girl",20);
  }
 else   if (entityType.equalsIgnoreCase("Lion")) {
    imageMap=RotatingEntityManager.getRotatingTileset("lion",15);
  }
 else   if (entityType.equalsIgnoreCase("Susi")) {
    imageMap=RotatingEntityManager.getRotatingTileset("susi",20);
  }
 else   if (entityType.equalsIgnoreCase("Jake")) {
    imageMap=RotatingEntityManager.getRotatingTileset("jake",20);
  }
 else   if (entityType.equalsIgnoreCase("Steve")) {
    imageMap=RotatingEntityManager.getRotatingTileset("steve",20);
  }
  update();
}

private void initTreeMap ( ) { if ( entityType == null ) { entityType = "Mouse" ; } if ( entityType . equalsIgnoreCase ( "Circle" ) ) { imageMap = RotatingEntityManager . getCircle ( ) ; } if ( entityType . equalsIgnoreCase ( "Mouse" ) ) { imageMap = RotatingEntityManager . getMouse ( ) ; } else if ( entityType . equalsIgnoreCase ( "Amy" ) ) { imageMap = RotatingEntityManager . getRotatingTileset ( "amy" , 20 ) ; } else if ( entityType . equalsIgnoreCase ( "Arnold" ) ) { imageMap = RotatingEntityManager . getRotatingTileset ( "arno" , 20 ) ; } else if ( entityType . equalsIgnoreCase ( "Boy" ) ) { imageMap = RotatingEntityManager . getRotatingTileset ( "boy" , 20 ) ; } else if ( entityType . equalsIgnoreCase ( "Cow" ) ) { imageMap = RotatingEntityManager . getRotatingTileset ( "cow" , 25 ) ; } else if ( entityType . equalsIgnoreCase ( "Girl" ) ) { imageMap = RotatingEntityManager . getRotatingTileset ( "girl" , 20 ) ; } else if ( entityType . equalsIgnoreCase ( "Lion" ) ) { imageMap = RotatingEntityManager . getRotatingTileset ( "lion" , 15 ) ; } else if ( entityType . equalsIgnoreCase ( "Susi" ) ) { imageMap = RotatingEntityManager . getRotatingTileset ( "susi" , 20 ) ; } else if ( entityType . equalsIgnoreCase ( "Jake" ) ) { imageMap = RotatingEntityManager . getRotatingTileset ( "jake" , 20 ) ; } else if ( entityType . equalsIgnoreCase ( "Steve" ) ) { imageMap = RotatingEntityManager . getRotatingTileset ( "steve" , 20 ) ; } update ( ) ; }
initialize the tree map , which associates angles with images / animations .
