Better entity code generation + minor refactoring
This commit is contained in:
16
core/src/mindustry/entities/units/StatusEntry.java
Normal file
16
core/src/mindustry/entities/units/StatusEntry.java
Normal file
@@ -0,0 +1,16 @@
|
||||
package mindustry.entities.units;
|
||||
|
||||
import mindustry.type.*;
|
||||
|
||||
public class StatusEntry{
|
||||
public static final StatusEntry tmp = new StatusEntry();
|
||||
|
||||
public StatusEffect effect;
|
||||
public float time;
|
||||
|
||||
public StatusEntry set(StatusEffect effect, float time){
|
||||
this.effect = effect;
|
||||
this.time = time;
|
||||
return this;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user