-
Notifications
You must be signed in to change notification settings - Fork 1
/
Bug.cs
45 lines (39 loc) · 1.07 KB
/
Bug.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Sirenix.Serialization;
using System;
[Serializable]
public class Bug {
public int bugID;
public string bugDescription;
public BugSeverity severity;
public BugState state;
public bool archived;
public Bug(int bugID, string bugDescription, BugSeverity severity, BugState state) {
this.bugID = bugID;
this.bugDescription = bugDescription;
this.severity = severity;
this.state = state;
this.archived = false;
}
public Bug(int bugID, string bugDescription) {
this.bugID = bugID;
this.bugDescription = bugDescription;
this.severity = BugSeverity.Literally_Unplayable;
this.state = BugState.Pending;
this.archived = false;
}
public enum BugSeverity {
Literally_Unplayable,
Visual,
Minor,
Major
}
public enum BugState {
Pending,
Possibly_Fixed,
Fixed,
Not_Fixing
}
}