Leg collision bugfixes

This commit is contained in:
Anuken
2021-08-22 18:48:12 -04:00
parent 6388e8da56
commit 5e737510a3
6 changed files with 21 additions and 3 deletions

View File

@@ -51,6 +51,11 @@ abstract class UnitComp implements Healthc, Physicsc, Hitboxc, Statusc, Teamc, I
private transient boolean wasPlayer;
private transient boolean wasHealed;
/** Called when this unit was unloaded from a factory or spawn point. */
public void unloaded(){
}
/** Move based on preferred unit movement type. */
public void movePref(Vec2 movement){
if(type.omniMovement){