public float getEnergy() {
   return (float) tile.getStoredEnergy() / (float) tile.getMaximumEnergy();
 }