Actual updating and rendering

This commit is contained in:
Anuken
2020-02-06 13:40:07 -05:00
parent 6fe5663f79
commit ddecb2d831
8 changed files with 33 additions and 16 deletions

View File

@@ -1,6 +1,7 @@
package mindustry.content;
import mindustry.ctype.*;
import mindustry.gen.*;
import mindustry.type.*;
public class UnitTypes implements ContentList{
@@ -14,6 +15,20 @@ public class UnitTypes implements ContentList{
@Override
public void load(){
dagger = new UnitDef("dagger", GenericUnitEntity::create){{
speed = 0.2f;
drag = 0.4f;
hitsize = 8f;
mass = 1.75f;
health = 130;
weapons.add(new Weapon("chain-blaster"){{
reload = 28f;
alternate = true;
ejectEffect = Fx.shellEjectSmall;
bullet = Bullets.standardCopper;
}});
}};
/*
draug = new UnitDef("draug", MinerDrone::new){{
flying = true;