public Tower(Vector2 pos, String spritePath, int high, int wide) {
   super(pos);
   // sets default values so it'll work properly
   damage = 10;
   health = 100;
   range = 112 * Math.sqrt(2);
   adamage = 0;
   sdamage = 0;
   projspeed = 10;
   speed = 10;
   loaded = -10;
   cost = 0;
   rangeSelectedTiles = new ArrayList<Tile>();
   healthDisplay = false;
   loadAnimation();
   loadStats();
   maxHealth = health;
 }
 protected int getBlockDistance(double range) {
   int numBlocks = 0;
   double s2 = Math.sqrt(2);
   if (range == 16 * s2) {
     numBlocks = 0;
   } else if (range == 48 * s2) {
     numBlocks = 1;
   } else if (range == 80 * s2) {
     numBlocks = 2;
   } else if (range == 112 * s2) {
     numBlocks = 3;
   } else if (range == 144 * s2) {
     numBlocks = 4;
   } else if (range == 176 * s2) {
     numBlocks = 5;
   }
   return numBlocks;
 }