예제 #1
0
        void HandleAddplayer_toolbuttonClicked(object sender, EventArgs e)
        {
            BattleEngine.RandomName    rname = new BattleEngine.RandomName(this.GameEngine.RandomEngine);
            BattleEngine.Player.Player p     = new BattleEngine.Player.Player(rname.GetRandomName());

            this.GameEngine.AddPlayer(p);
        }
예제 #2
0
        void HandleAddplayer_toolbuttonClicked(object sender, EventArgs e)
        {
            BattleEngine.RandomName rname = new BattleEngine.RandomName (this.GameEngine.RandomEngine);
            BattleEngine.Player.Player p = new BattleEngine.Player.Player (rname.GetRandomName ());

            this.GameEngine.AddPlayer (p);
        }