Example #1
0
        public AttemptBall(BitmapImage source, int size, MainWindow wnd)
        {
            this.Size = size;
            this.wnd = wnd;

            this.SetImage(source, size, true);
        }
Example #2
0
        public AnswerBall(BitmapImage source, int size, MainWindow wnd)
        {
            this.Size = size;
            this.wnd = wnd;

            this.SetImage(source, size, false);
        }
Example #3
0
 public static void Main(string[] args)
 {
     Application.Init ();
     MainWindow win = new MainWindow ();
     win.Show ();
     Application.Run ();
 }
Example #4
0
 private void Application_startup(object sender, StartupEventArgs e)
 {
     //THE MAIN METHOD ###########
     MainWindow wnd = new MainWindow();
     wnd.Show();
     Game game = new Game(wnd);
     GameManager gManager = new GameManager(game);
     wnd.game = game;
     wnd.GameManager = gManager;
 }
Example #5
0
        public CodeBall(BitmapImage source, int size, MainWindow wnd, BitmapImage hidden = null)
        {
            this.Size = size;
            this.wnd = wnd;
            HiddenImage = new OwnImage(false);
            HiddenImage.Source = hidden;
            HiddenImage.Width = Size;
            HiddenImage.Height = Size;

            this.SetImage(source, size, false);
        }