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 authored and GitHub committed 2022-09-18 13:36:59 +03:00
1 parent b027d29b29
commit 953af7c66c
19 files changed
+886 -1

No files matched your search

@@ -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;