Implemented new custom serialization
This commit is contained in:
@@ -352,7 +352,7 @@ public abstract class BulletType extends BaseBulletType<Bullet>{
|
||||
public void draw(Bullet b){
|
||||
Draw.thick(2f);
|
||||
Draw.color(lightOrange, Color.WHITE, 0.4f);
|
||||
Draw.polygon(b.y, b.x, 3, 1.6f, b.angle());
|
||||
Draw.polygon(b.x, b.y, 3, 1.6f, b.angle());
|
||||
Draw.thick(1f);
|
||||
Draw.color(Color.WHITE, lightOrange, b.ifract()/2f);
|
||||
Draw.alpha(b.ifract());
|
||||
|
||||
@@ -84,7 +84,7 @@ public class EMP extends TimedEntity{
|
||||
}
|
||||
|
||||
Draw.thick(fract()*2f);
|
||||
Draw.polygon(y, x, 34, radius * Vars.tilesize);
|
||||
Draw.polygon(x, y, 34, radius * Vars.tilesize);
|
||||
|
||||
Draw.reset();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user