コード例 #1
0
ファイル: Player.cs プロジェクト: szaliszali/20180324
        public void Advance(int roll)
        {
            Place = (Place + roll) % 12;

            mUi.PlayerMovesTo(Name, Place, CurrentCategory());
        }
コード例 #2
0
        public void AdvancePlayer(Player player, int roll)
        {
            player.Place = (player.Place + roll) % size;

            ui.PlayerMovesTo(player.Name, player.Place, this.fields[player.Place].QuestionCategory);
        }