-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathProgress.pde
More file actions
38 lines (29 loc) · 818 Bytes
/
Copy pathProgress.pde
File metadata and controls
38 lines (29 loc) · 818 Bytes
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
// This is a progress class
class Progress {
float loading_progress;
float sorting_progress;
float loading_large_progress;
Progress() {
this.loading_progress = 0;
this.sorting_progress = 0;
this.loading_large_progress = 0;
}
float getLoadingProgress() {
return this.loading_progress;
}
float getLoadingLargeProgress() {
return this.loading_large_progress;
}
float getSortingProgress() {
return this.sorting_progress;
}
void setLoadingProgress(float progress) {
this.loading_progress = progress;
}
void setSortingProgress(float progress) {
this.sorting_progress = progress;
}
void setLoadingLargeProgress(float progress) {
this.loading_large_progress = progress;
}
}