Enable full customization of core launching/landing animations. (#9693)
* Extract all updates and draws of core launch/land animations to CoreBlock/CoreBuild * Re-add removed methods as deprecated * Fixed tests failing * anuke said no * Extract launch effect
This commit is contained in:
@@ -27,6 +27,8 @@ import mindustry.input.*;
|
||||
import mindustry.net.Packets.*;
|
||||
import mindustry.type.*;
|
||||
import mindustry.ui.*;
|
||||
import mindustry.world.blocks.storage.*;
|
||||
import mindustry.world.blocks.storage.CoreBlock.*;
|
||||
|
||||
import static mindustry.Vars.*;
|
||||
import static mindustry.gen.Tex.*;
|
||||
@@ -584,6 +586,8 @@ public class HudFragment{
|
||||
}
|
||||
}
|
||||
|
||||
/** @deprecated see {@link CoreBuild#beginLaunch(CoreBlock)} */
|
||||
@Deprecated
|
||||
public void showLaunch(){
|
||||
float margin = 30f;
|
||||
|
||||
@@ -602,6 +606,8 @@ public class HudFragment{
|
||||
Core.scene.add(image);
|
||||
}
|
||||
|
||||
/** @deprecated see {@link CoreBuild#beginLaunch(CoreBlock)} */
|
||||
@Deprecated
|
||||
public void showLand(){
|
||||
Image image = new Image();
|
||||
image.color.a = 1f;
|
||||
|
||||
Reference in New Issue
Block a user