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

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

            this.SetImage(source, size, false);
        }
Exemple #3
0
 public static void Main(string[] args)
 {
     Application.Init ();
     MainWindow win = new MainWindow ();
     win.Show ();
     Application.Run ();
 }
Exemple #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;
 }
Exemple #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);
        }