-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGenericStageComponent.java
59 lines (44 loc) · 1.05 KB
/
GenericStageComponent.java
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
import processing.core.*;
import processing.data.*;
import java.util.ArrayList;
/** I have no idea why this class exsists
*/
class GenericStageComponent extends StageComponent {
public static final Identifier ID = new Identifier("GenericStageComposnent");
void draw(PGraphics render){
}
void draw3D(PGraphics render){
}
StageComponent copy() {
return this;
}
StageComponent copy(float offsetX,float offsetY){
return this;
}
StageComponent copy(float offsetX,float offsetY,float offsetZ){
return this;
}
public GenericStageComponent(SerialIterator iterator){
deserial(iterator);
}
public GenericStageComponent(){}
JSONObject save(boolean e) {
return null;
}
public Collider2D getCollider2D(){
return null;
}
public Collider3D getCollider3D(){
return null;
}
@Override
public SerializedData serialize() {
SerializedData data = new SerializedData(id());
serialize(data);
return data;
}
@Override
public Identifier id() {
return ID;
}
}