-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCollision.java
More file actions
35 lines (33 loc) · 879 Bytes
/
Copy pathCollision.java
File metadata and controls
35 lines (33 loc) · 879 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
import java.util.ArrayList;
public class Collision {
int i;
int j;
double time;
PhysicsObject iOutside;
PhysicsObject jOutside;
PhysicsObject iInside;
PhysicsObject jInside;
ArrayList<ArrayList<Integer>> pointIndexes;
ArrayList<ArrayList<Vector2>> points;
Collision(
int i,
int j,
double time,
PhysicsObject iOutside,
PhysicsObject jOutside,
PhysicsObject iInside,
PhysicsObject jInside,
ArrayList<ArrayList<Integer>> pointIndexes,
ArrayList<ArrayList<Vector2>> points)
{
this.i = i;
this.j = j;
this.time = time;
this.iOutside = iOutside;
this.jOutside = jOutside;
this.iInside = iInside;
this.jInside = jInside;
this.pointIndexes = pointIndexes;
this.points = points;
}
}