Skip to content

Commit

Permalink
i forgot
Browse files Browse the repository at this point in the history
  • Loading branch information
= committed Feb 26, 2025
1 parent 3012ded commit 8a512be
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/omaloon/type/FilterWeapon.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ public class FilterWeapon extends Weapon {
public BulletType[] bullets = new BulletType[]{Bullets.placeholder};
public Func<Unit, BulletType> bulletFilter = unit -> bullets[0];

public float tintLayerOffset = 0;

public Func<Unit, Color> tint = unit -> Color.white;

public String[] icons = new String[]{""};
Expand Down Expand Up @@ -64,7 +66,7 @@ public void addStats(UnitType u, Table t) {
public void draw(Unit unit, WeaponMount mount) {
super.draw(unit, mount);
float z = Draw.z();
Draw.z(z + layerOffset);
Draw.z(z + layerOffset + tintLayerOffset);

float
rotation = unit.rotation - 90,
Expand Down

0 comments on commit 8a512be

Please sign in to comment.