예제 #1
0
        public MainWindow()
        {
            InitializeComponent();

            MultitouchScreen.AllowNonContactEvents = true;

            playerManager = new PlayerManager(riskMap);
            stateManager = new StateManager(playerManager);

            wizardOzWindow = new WizardOzWindow();
            wizardOzWindow.DiceLocated += new EventHandler<DiceEventArgs>(wizardOzWindow_DiceLocated);
            wizardOzWindow.DiceFinished += new EventHandler<DiceFinishedEventArgs>(wizardOzWindow_DiceFinished);
            wizardOzWindow.CardLocated += new EventHandler<CardEventArgs>(wizardOzWindow_CardLocated);
            wizardOzWindow.CardFinished += new EventHandler<CardFinishedEventArgs>(wizardOzWindow_CardFinished);
            wizardOzWindow.Show();

            soundPool = new SoundPool();
        }
예제 #2
0
        public MainWindow()
        {
            interactiveSpaceProvider = new InteractiveSpace.SDK.DLL.InteractiveSpaceProviderDLL();
            interactiveSpaceProvider.Connect();

            InitializeComponent();

            MultitouchScreen.AllowNonContactEvents = true;

            playerManager = new PlayerManager(riskMap);
            stateManager  = new StateManager(playerManager);

            wizardOzWindow               = new WizardOzWindow();
            wizardOzWindow.DiceLocated  += new EventHandler <DiceEventArgs>(wizardOzWindow_DiceLocated);
            wizardOzWindow.DiceFinished += new EventHandler <DiceFinishedEventArgs>(wizardOzWindow_DiceFinished);
            wizardOzWindow.CardLocated  += new EventHandler <CardEventArgs>(wizardOzWindow_CardLocated);
            wizardOzWindow.CardFinished += new EventHandler <CardFinishedEventArgs>(wizardOzWindow_CardFinished);
            wizardOzWindow.Show();

            soundPool = new SoundPool();
        }