Implemented ground mech boosting
This commit is contained in:
13
core/src/mindustry/entities/comp/TimerComp.java
Normal file
13
core/src/mindustry/entities/comp/TimerComp.java
Normal file
@@ -0,0 +1,13 @@
|
||||
package mindustry.entities.comp;
|
||||
|
||||
import arc.util.*;
|
||||
import mindustry.annotations.Annotations.*;
|
||||
|
||||
@Component
|
||||
abstract class TimerComp{
|
||||
Interval timer = new Interval(6);
|
||||
|
||||
public boolean timer(int index, float time){
|
||||
return timer.get(index, time);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user