aboutsummaryrefslogtreecommitdiff
path: root/PunchingBag/src/Contact.java
blob: 8e8970b33e7762f217b36ddb07c7e7a8205ce9a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
	class Contact {
		// Height of bag is

		final long time; // Time of the contact with the bag (in millis)
		final int x;
		final int y;
		final int strength; // 0 - 100

		Contact(long time, int x, int y, int strength) {
			this.time = time;
			this.x = x;
			this.y = y;
			this.strength = strength;
		}


	}