public void Initialize(IHashDependancy hashDependancy, Game game) { Game = game; _abilities.Initialize(game, hashDependancy); _cardBase.Changed += OnCardBaseChanged; }
public override void Initialize(Game game, IHashDependancy hashDependancy) { base.Initialize(game, hashDependancy); _card = (Card)hashDependancy; _cardBase.Changed += OnCardBaseChanged; }
public virtual void Initialize(Game game, IHashDependancy hashDependancy) { Game = game; _modifiers.Initialize(game.ChangeTracker); _currentValue.Initialize(game.ChangeTracker, hashDependancy); }
public void Initialize(Game game, IHashDependancy hashDependancy) { Game = game; _cardTypes.Initialize(game, hashDependancy); _colors.Initialize(game, hashDependancy); _cardBase.Changed += OnCardBaseChanged; }
public void Initialize(Game game, IHashDependancy hashDependancy) { _power.Initialize(game, hashDependancy); _toughness.Initialize(game, hashDependancy); _switchPowerAndToughness.Initialize(game.ChangeTracker, hashDependancy); _cardBase.Changed += OnCardBaseChanged; }
public void Initialize(Game game, IHashDependancy hashDependancy) { Game = game; Changed.Initialize(ChangeTracker); _parameters.Initialize(game, hashDependancy); _parameters.Changed += OnParametersChanged; }
public TrackableSet <T> Initialize(INotifyChangeTracker changeTracker, IHashDependancy hashDependancy = null) { if (hashDependancy != null) { _hashDependancy = hashDependancy; } _changeTracker = changeTracker; return(this); }
public void Initialize(IHashDependancy hashDependancy, Game game) { Game = game; _all.Initialize(ChangeTracker, hashDependancy); foreach (var staticAbility in _all) { staticAbility.Initialize(ChangeTracker); } _active.Initialize(ChangeTracker); }
public override void Initialize(Game game, IHashDependancy hashDependancy) { base.Initialize(game, hashDependancy); _card = (Card)hashDependancy; }
public void Initialize(ChangeTracker changeTracker, IHashDependancy hashDependancy) { _cardTypes.Initialize(changeTracker, hashDependancy); _colors.Initialize(changeTracker, hashDependancy); }
public void Initialize(Game game, IHashDependancy hashDependancy) { _power.Initialize(game, hashDependancy); _toughness.Initialize(game, hashDependancy); _switchPowerAndToughness.Initialize(game.ChangeTracker, hashDependancy); }