More UI changes, made weapons usable, fixed ammo for turret types

This commit is contained in:
Anuken
2017-09-24 12:20:43 -04:00
parent 67b1fc4dbd
commit 2f092604a3
19 changed files with 156 additions and 93 deletions
@@ -34,9 +34,16 @@ public abstract class BulletType extends BaseBulletType<Bullet>{
sniper = new BulletType(3f, 20){
public void draw(Bullet b){
Draw.color(Color.LIGHT_GRAY);
Draw.rect("bullet", b.x, b.y, b.angle());
Draw.thick(1f);
Draw.lineAngleCenter(b.x, b.y, b.angle(), 3f);
Draw.reset();
}
public void update(Bullet b){
if(Timers.get(b, "smoke", 4)){
Effects.effect("railsmoke", b.x, b.y);
}
}
},
shell = new BulletType(1.1f, 80){
{