// ================MISC
public void shoot(World world) {
if (isActive()) {
if (isShooting() && world.getCounter() % fireRate == 0) {
world.addBullet(new Bullet(Bullet.BULLETSPEED, 0, 1 * Configuration.gameScale,
1 * Configuration.gameScale, new Vector2((getPosition().x - (getWidth() / 1.3f))
- ((1 * Configuration.gameScale) / 4), getPosition().y + getHeight() / 2), new Vector2(
new Vector2(getPosition().x, getPosition().y + 90).sub(getPosition()).nor())));
world.addBullet(new Bullet(Bullet.BULLETSPEED, 0, 1 * Configuration.gameScale,
1 * Configuration.gameScale, new Vector2((getPosition().x - (getWidth() / 1.3f))
+ ((1 * Configuration.gameScale) / 4), getPosition().y + getHeight() / 2), new Vector2(
new Vector2(getPosition().x, getPosition().y + 90).sub(getPosition()).nor())));
Audio.shoot();
}