feature: Add Service to Worker Pattern (#2004)

* update service to worker

* update pom.xml and make GiantModel public

* add javadoc for GaintModel
This commit is contained in:
Renjie LIU
2022-09-18 18:36:59 +08:00
committed by GitHub
parent b027d29b29
commit 953af7c66c
19 changed files with 886 additions and 1 deletions
@@ -33,7 +33,10 @@ public class GiantModel {
private Fatigue fatigue;
private Nourishment nourishment;
GiantModel(Health health, Fatigue fatigue, Nourishment nourishment) {
/**
* Instantiates a new GiantModel.
*/
public GiantModel(Health health, Fatigue fatigue, Nourishment nourishment) {
this.health = health;
this.fatigue = fatigue;
this.nourishment = nourishment;