21222324252627282930313233
} public void createBullet() { ElementBullet shoot = new ElementBullet(); initializeShoot(shoot); shoot.hitDamage = 100; shoot.setSpeed(new Vec2(3 * D().x, 3 * D().y)); //initializeShoot(shoot); //addAmmo(-gunUseAmmo); }
17181920212223
gunName = "Standard Gun"; gunUseAmmo = 1; } public void createBullet() { initializeShoot(new ElementBullet()); }