aboutsummaryrefslogtreecommitdiff
path: root/comp2511/blackout/HandheldDevice.java
diff options
context:
space:
mode:
Diffstat (limited to 'comp2511/blackout/HandheldDevice.java')
-rw-r--r--comp2511/blackout/HandheldDevice.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/comp2511/blackout/HandheldDevice.java b/comp2511/blackout/HandheldDevice.java
new file mode 100644
index 0000000..587d7a4
--- /dev/null
+++ b/comp2511/blackout/HandheldDevice.java
@@ -0,0 +1,14 @@
+package unsw.blackout;
+
+import unsw.utils.Angle;
+
+public class HandheldDevice extends DeviceBase {
+ public HandheldDevice(String deviceID, Angle position) {
+ super(deviceID, position);
+ }
+
+ @ Override
+ public double getRange() {
+ return 50_000.0;
+ }
+}