Codegen for an inheritance tree

This commit is contained in:
Anuken
2020-06-26 11:58:35 -04:00
parent 96f41b0cf3
commit eabc5c15c7
13 changed files with 150 additions and 48 deletions

View File

@@ -20,7 +20,7 @@ import mindustry.world.blocks.environment.*;
import static mindustry.Vars.*;
@Component
@Component(base = true)
abstract class UnitComp implements Healthc, Physicsc, Hitboxc, Statusc, Teamc, Itemsc, Rotc, Unitc, Weaponsc, Drawc, Boundedc, Syncc, Shieldc, Displayable{
@Import float x, y, rotation, elevation, maxHealth, drag, armor, hitSize, health;