using System;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.Windows.Forms;

namespace WorldOfPeacecraft
{
	public class SplashScreen : Form 
	{
		private string ImagesFolder = "textures/";
		private Image Logo;
		private Music m = new Music();

		public SplashScreen ()
		{
			Logo = Image.FromFile (ImagesFolder + "splashscreen.png");
			m.Playmusic ("splashscreen");
		}

		protected override void OnPaint (PaintEventArgs e)
		{
			Graphics g = e.Graphics;
			g.InterpolationMode = InterpolationMode.Low;
			g.DrawImage (Logo, 0, 0, 450, 150);
		}
	}
}

