Exemple #1
0
        public override void SetAgent(IAgent agent)
        {
            var cardAgent = agent as ICardAgent;

            Assert.IsNotNull(cardAgent);
            base.SetAgent(cardAgent);

            PlayerView = ArbiterView.GetPlayerView(agent);
            AddMesh(cardAgent);
            AddCardSubscriptions();
        }
Exemple #2
0
 protected bool IsCurrentPlayer() => ArbiterView.CurrentPlayerOwns(this);