-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP Interplanetary Accelerator animation
- Loading branch information
Showing
11 changed files
with
290 additions
and
171 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,29 @@ | ||
package mindustry.world.blocks; | ||
|
||
import arc.audio.*; | ||
import mindustry.gen.*; | ||
|
||
public interface LaunchAnimator{ | ||
|
||
void drawLanding(); | ||
void drawLaunch(); | ||
|
||
default void drawLaunchGlobalZ(){} | ||
|
||
void beginLaunch(boolean launching); | ||
|
||
void endLaunch(); | ||
|
||
void updateLaunching(); | ||
void updateLaunch(); | ||
|
||
float landDuration(); | ||
float launchDuration(); | ||
|
||
Music landMusic(); | ||
default Music landMusic(){ | ||
return Musics.land; | ||
} | ||
|
||
Music launchMusic(); | ||
default Music launchMusic(){ | ||
return Musics.launch; | ||
} | ||
|
||
float zoomLaunching(); | ||
float zoomLaunch(); | ||
} |
Oops, something went wrong.