using System; using SdlDotNet.Core; using SdlDotNet.Graphics; using SdlDotNet.Input; namespace SdlDotNetExamples.SmallDemos { public class Window { [STAThread] public static void Main() { Window app = new Window(); app.Go(); } public Window() { Video.SetVideoMode(400, 300); Video.WindowCaption = "Fun with ANN"; Events.MouseMotion += new EventHandler(Events_MouseMotion); } private void Events_MouseMotion(object sender, MouseMotionEventArgs e) { } public void Go() { Events.Quit += new EventHandler(this.Quit); Events.Run(); } private void Quit(object sender, QuitEventArgs e) { Events.QuitApplication(); } /// /// Lesson Title /// public static string Title { get { return "ANN Assignment"; } } } }