Final tutorial fixes

This commit is contained in:
Anuken
2018-09-24 22:56:48 -04:00
parent 5354e02b6f
commit af86564adc
11 changed files with 31 additions and 26 deletions
@@ -121,6 +121,10 @@ public abstract class BaseUnit extends Unit implements ShooterTrait{
this.spawner = tile.packedPosition();
}
public void setIntSpawner(int pos){
this.spawner = pos;
}
/**Sets this to a 'wave' unit, which means it has slightly different AI and will not run out of ammo.*/
public void setWave(){
isWave = true;