Rogue: Savage Rats, a retro-themed dungeon crawler
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.
|
|
|
package mightypork.rogue.util;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Utils class
|
|
|
|
*
|
|
|
|
* @author MightyPork
|
|
|
|
*/
|
|
|
|
public class Utils {
|
|
|
|
|
|
|
|
public static Thread runAsThread(Runnable r)
|
|
|
|
{
|
|
|
|
Thread t = new Thread(r);
|
|
|
|
t.start();
|
|
|
|
return t;
|
|
|
|
}
|
|
|
|
}
|