public void tick() {

		fireTicks++;

		// increase the count displayed while reloading
		if (isReloading && reloadTicks % RELOAD_TIME == 0) {
			if (ammo < clipSize && availableAmmo > 0) {
				ammo++;
				availableAmmo--;
			} else {
				isReloading = false;
				reloadTicks = 0;
				return;
			}
		}

		if (isReloading) {
			reloadTicks++;
		}

		if (fireTicks % FIRE_RATE == 0) {
			canFire = true;
		}

	}