12345678910111213141516171819 |
- public class GameOverData
- {
- public enum Reason
- {
- VirusPassed,
- TimeUp,
- OutOfAmmo
- }
- public Reason reason;
- public Virus virus;
- public GameOverData(Reason reason, Virus virus = null)
- {
- this.reason = reason;
- this.virus = virus;
- }
- }
|