package de.dakror.arise;

import de.dakror.arise.game.Game;
import de.dakror.arise.game.UpdateThread;
import de.dakror.gamesetup.applet.DoubleBufferApplet;

/**
 * @author Dakror
 */
public class Arise extends DoubleBufferApplet
{
	private static final long serialVersionUID = 1L;
	
	@Override
	public void init()
	{
		super.init();
		
		new Game();
		Game.currentApplet.init(this);
		Game.currentApplet.updater = new UpdateThread();
		
		new Thread()
		{
			@Override
			public void run()
			{
				while (true)
				{
					repaint();
				}
			}
		}.start();
	}
	
	public static void main(String[] args)
	{}
}

@@ -19,16 +19,39 @@
 arise;%0A%0A
+import java.awt.Font;%0A%0A
 import d
@@ -348,24 +348,203 @@
 .init();%0A%09%09%0A
+%09%09try%0A%09%09%7B%0A%09%09%09g.setFont(Font.createFont(Font.TRUETYPE_FONT, getClass().getResourceAsStream(%22/MorrisRomanBlack.ttf%22)));%0A%09%09%7D%0A%09%09catch (Exception e)%0A%09%09%7B%0A%09%09%09e.printStackTrace();%0A%09%09%7D%0A%09%09%0A
 %09%09new Game()

set font