public Game(IDragonGameController dragonPlayer, ISlayerGameController slayerPlayer) { DragonDeck = new DragonDeck(); SlayerDeck = new SlayerDeck(); Dragon = new DragonPlayer(DragonDeck, dragonPlayer); Slayer = new SlayerPlayer(SlayerDeck, slayerPlayer); Slayer.RandomPresetParty(); }
public DragonPlayer(DragonDeck deck, IDragonGameController controller) { var g = (Dice.HalfChance() ? EGender.Male : EGender.Female); var n = (Dice.HalfChance() ? Dragon.Generate(g) : DragonBorn.Generate(g)); Name = n; Deck = deck; HitPoints = 10; Hand = new List <BaseCard>(); }