Exemplo n.º 1
0
        public Card(ICardTemplate cardTemplate,Player player, Game game)
            : base()
        {
            CardTemplate = cardTemplate;
            Player = player;
            Owner = Player;

            Location = LOCATION.Library;

            Game = game;
            Game.AddCard(this);

            EventHub.AddObserver(EventConstants.StartOfStep,untapHandler);
        }
Exemplo n.º 2
0
		public Player(string name, Game game):base()
		{
			Name = name;
			Game = game;
			ManaPool = new ManaPool();
		}