Package de.tubs.pandemieinc.events
Class VaccineDeployedEvent
- java.lang.Object
-
- de.tubs.pandemieinc.events.BaseEvent
-
- de.tubs.pandemieinc.events.PathogenEvent
-
- de.tubs.pandemieinc.events.VaccineDeployedEvent
-
public class VaccineDeployedEvent extends PathogenEvent
VaccineDeployedEvent - A citry event This event indicates that the vaccine for the given Pathogen was deployed on the given city.
-
-
Field Summary
Fields Modifier and Type Field Description static StringeventNameintround-
Fields inherited from class de.tubs.pandemieinc.events.PathogenEvent
pathogen
-
-
Constructor Summary
Constructors Constructor Description VaccineDeployedEvent()VaccineDeployedEvent(Pathogen pathogen, int round)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetRound(int round)-
Methods inherited from class de.tubs.pandemieinc.events.PathogenEvent
setPathogen
-
-
-
-
Field Detail
-
eventName
public static String eventName
-
round
public int round
-
-
Constructor Detail
-
VaccineDeployedEvent
public VaccineDeployedEvent(Pathogen pathogen, int round)
-
VaccineDeployedEvent
public VaccineDeployedEvent()
-
-
Method Detail
-
setRound
public void setRound(int round)
- Specified by:
setRoundin classPathogenEvent
-
-