Manual turret control

This commit is contained in:
Anuken
2020-05-24 10:11:28 -04:00
parent 503b947fb7
commit 1acb5fc56c
8 changed files with 115 additions and 22 deletions

View File

@@ -33,8 +33,17 @@ public class UnitTypes implements ContentList{
//water
public static @EntityDef({Unitc.class, WaterMovec.class, Commanderc.class}) UnitType vanguard;
//special block unit type
public static @EntityDef({Unitc.class, BlockUnitc.class}) UnitType block;
@Override
public void load(){
block = new UnitType("block"){{
speed = 0f;
hitsize = 0f;
health = 1;
rotateSpeed = 360f;
}};
dagger = new UnitType("dagger"){{
speed = 0.5f;