#984 update Builder readme
This commit is contained in:
parent
0272d71851
commit
2628cc0dfc
@ -110,7 +110,7 @@ And then we have the builder
|
||||
And then it can be used as:
|
||||
|
||||
```java
|
||||
Hero mage = new Hero.Builder(Profession.MAGE, "Riobard").withHairColor(HairColor.BLACK).withWeapon(Weapon.DAGGER).build();
|
||||
var mage = new Hero.Builder(Profession.MAGE, "Riobard").withHairColor(HairColor.BLACK).withWeapon(Weapon.DAGGER).build();
|
||||
```
|
||||
|
||||
## Applicability
|
||||
|
Loading…
x
Reference in New Issue
Block a user