public GameServer(ILoginValidator loginvalidator, IPasswordValidator passwordvalidator, ICharacterSkillPoints characterskillpoints, ICharacterRace characterrace) { this.loginvalidator = loginvalidator; this.passwordvalidator = passwordvalidator; this.characterskillpoints = characterskillpoints; this.characterrace = characterrace; }
public void ShouldNotEquate() { //assign ICharacterRace race = CharacterRace.Human; ICharacterRace race2 = CharacterRace.WoodElf; //assert race2.Should().NotBe(race); }
public void ShouldEquate() { //assign ICharacterRace race = CharacterRace.Human; ICharacterRace race2 = CharacterRace.Human; //assert race2.Should().Be(race); }
public void ShouldReturnName() { //assign ICharacterRace race = CharacterRace.Human; //assert ITextObj name = race.Name(); name.Should().Be(new TextObj("Human")); }
public ICharacterRace CreateCharacterRace(ICharacterRace characterrace) { return(characterrace.CreateCharacterRace(characterrace)); }
public void ApplyRacialBonus(ICharacterRace race) => _racialAttributeAdjustment = race.RacialAttributeAdjustment(this);
public void ApplyRacialBonus(ICharacterRace race) { }
public CharacterSheet(ICharacterClass characterClass, ICharacterRace race, IAttributeSet attributeSet) { _characterClass = characterClass; _race = race; _attributeSet = attributeSet; }