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

            game = new Game(this);
            Game.me = new Player(0, "Bam");
            game.AddPlayer(Game.me);

            myStats.DataContext = Game.me;

            listBoxOut.Items.Refresh();
            hitInput.SelectAll();
            KeyDown += inputKeyDown;
        }