Exemplo n.º 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();
        }
Exemplo n.º 2
0
 protected bool IsCurrentPlayer() => ArbiterView.CurrentPlayerOwns(this);