Package de.tubs.pandemieinc.events
Class MedicationDeployedEvent
- java.lang.Object
-
- de.tubs.pandemieinc.events.BaseEvent
-
- de.tubs.pandemieinc.events.PathogenEvent
-
- de.tubs.pandemieinc.events.MedicationDeployedEvent
-
public class MedicationDeployedEvent extends PathogenEvent
MedicationDeployedEvent - An city event This event indicates that the medication 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 MedicationDeployedEvent()MedicationDeployedEvent(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
-
MedicationDeployedEvent
public MedicationDeployedEvent(Pathogen pathogen, int round)
-
MedicationDeployedEvent
public MedicationDeployedEvent()
-
-
Method Detail
-
setRound
public void setRound(int round)
- Specified by:
setRoundin classPathogenEvent
-
-