internal Pilot(string shipName, string name, bool unique, IFaction faction, int cost, PilotStatPackage stats, string pilotAbility, string imageUri, IShipSize shipSize, HashSet <IAction> actions, IReadOnlyList <IUpgradeSlot> upgrades, string shipIcon) { Name = name; Faction = faction; ShipName = shipName; Unique = unique; PilotAbility = pilotAbility; Image = imageUri; ShipSize = shipSize; AbilityEngine = new PilotAbilityEngine(stats, actions, upgrades); AbilityEngine.PropertyChanged += AbilityEngine_PropertyChanged; this.Cost = cost; ShipIcon = shipIcon; Id = Guid.NewGuid(); }
private Pilot(string shipName, string name, bool unique, IFaction faction, int cost, string pilotAbility, string imageUri, IShipSize shipSize, PilotAbilityEngine engine, string shipIcon) { Name = name; Faction = faction; ShipName = shipName; Unique = unique; PilotAbility = pilotAbility; Image = imageUri; ShipSize = shipSize; AbilityEngine = engine; AbilityEngine.PropertyChanged += AbilityEngine_PropertyChanged; this.Cost = cost; ShipIcon = shipIcon; Id = Guid.NewGuid(); }
public bool Equals(IShipSize other) { return(ToString().Equals(other.ToString())); }
public int CompareTo(IShipSize other) { return(ToString().CompareTo(other.ToString())); }
public NotContainsShipSizeSpecification(IShipSize shipSize) { this.shipSize = shipSize; }