Unit cargo transport system

This commit is contained in:
Anuken
2021-11-29 20:06:49 -05:00
parent 635027bb81
commit 6483d924af
32 changed files with 631 additions and 115 deletions

View File

@@ -82,14 +82,16 @@ public class Scripts implements Disposable{
return Vars.tree.get(path, true).readBytes();
}
//kept for backwards compatibility
/** @deprecated use Vars.tree.loadSound(soundName) instead */
@Deprecated
public Sound loadSound(String soundName){
return Vars.tree.loadSound(soundName);
}
//kept for backwards compatibility
public Music loadMusic(String soundName){
return Vars.tree.loadMusic(soundName);
/** @deprecated use Vars.tree.loadMusic(musicName) instead */
@Deprecated
public Music loadMusic(String musicName){
return Vars.tree.loadMusic(musicName);
}
/** Ask the user to select a file to read for a certain purpose like "Please upload a sprite" */