You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
826 B
42 lines
826 B
10 years ago
|
package net.tortuga;
|
||
|
|
||
|
|
||
|
import net.tortuga.gui.widgets.ColorScheme;
|
||
|
import net.tortuga.level.map.entities.EntityRegistry;
|
||
|
import net.tortuga.level.map.tiles.MapTileRegistry;
|
||
|
import net.tortuga.level.program.GrainRegistry;
|
||
|
import net.tortuga.level.program.StoneRegistry;
|
||
|
|
||
|
|
||
|
/**
|
||
|
* Initialization utility, initializing all the static stuff that is needed
|
||
|
* before starting main loop.
|
||
|
*
|
||
|
* @author MightyPork
|
||
|
*/
|
||
|
public class StaticInitializer {
|
||
|
|
||
|
/**
|
||
|
* Init static things and start threads.<br>
|
||
|
* This is called on startup, even before the splash screen.
|
||
|
*/
|
||
|
public static void initOnStartup()
|
||
|
{
|
||
|
CustomIonMarks.init();
|
||
|
|
||
|
ColorScheme.init();
|
||
|
GrainRegistry.init();
|
||
|
StoneRegistry.init();
|
||
|
MapTileRegistry.init();
|
||
|
EntityRegistry.init();
|
||
|
}
|
||
|
|
||
|
|
||
|
/**
|
||
|
* Initialize all.
|
||
|
*/
|
||
|
public static void initPostLoad()
|
||
|
{}
|
||
|
|
||
|
}
|