Package de.tubs.pandemieinc.events
Class MedicationAvailableEvent
- java.lang.Object
-
- de.tubs.pandemieinc.events.BaseEvent
-
- de.tubs.pandemieinc.events.PathogenEvent
-
- de.tubs.pandemieinc.events.MedicationAvailableEvent
-
public class MedicationAvailableEvent extends PathogenEvent
MedicationAvailableEvent - An global event This event indicates that the medication for the given pathogen is available to use for the cities.
-
-
Field Summary
Fields Modifier and Type Field Description static String
eventName
int
sinceRound
-
Fields inherited from class de.tubs.pandemieinc.events.PathogenEvent
pathogen
-
-
Constructor Summary
Constructors Constructor Description MedicationAvailableEvent()
MedicationAvailableEvent(Pathogen pathogen, int sinceRound)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setRound(int round)
-
Methods inherited from class de.tubs.pandemieinc.events.PathogenEvent
setPathogen
-
-
-
-
Field Detail
-
eventName
public static String eventName
-
sinceRound
public int sinceRound
-
-
Constructor Detail
-
MedicationAvailableEvent
public MedicationAvailableEvent(Pathogen pathogen, int sinceRound)
-
MedicationAvailableEvent
public MedicationAvailableEvent()
-
-
Method Detail
-
setRound
public void setRound(int round)
- Specified by:
setRound
in classPathogenEvent
-
-