GameOverData.cs 248 B

12345678910111213141516171819
  1. public class GameOverData
  2. {
  3. public enum Reason
  4. {
  5. VirusPassed,
  6. TimeUp,
  7. OutOfAmmo
  8. }
  9. public Reason reason;
  10. public Virus virus;
  11. public GameOverData(Reason reason, Virus virus = null)
  12. {
  13. this.reason = reason;
  14. this.virus = virus;
  15. }
  16. }