Changed spawn system

This commit is contained in:
Anuken
2017-09-22 23:41:19 -04:00
parent 465c4b39f3
commit 446e70c52b
6 changed files with 49 additions and 32 deletions

View File

@@ -0,0 +1,18 @@
package io.anuke.mindustry.entities;
import io.anuke.mindustry.entities.enemies.Enemy;
public class EnemySpawn{
public final Class<? extends Enemy> type;
int before = Integer.MAX_VALUE;
int after;
int spacing;
public EnemySpawn(Class<? extends Enemy> type){
this.type = type;
}
public int evaluate(int wave, int lane){
return 0;
}
}