aboutsummaryrefslogtreecommitdiff
path: root/comp2511/blackout/LaptopDevice.java
diff options
context:
space:
mode:
authorNicolas James <Eele1Ephe7uZahRie@tutanota.com>2025-02-13 18:00:17 +1100
committerNicolas James <Eele1Ephe7uZahRie@tutanota.com>2025-02-13 18:00:17 +1100
commit98cef5e9a772602d42acfcf233838c760424db9a (patch)
tree5277fa1d7cc0a69a0f166fcbf10fd320f345f049 /comp2511/blackout/LaptopDevice.java
initial commit
Diffstat (limited to 'comp2511/blackout/LaptopDevice.java')
-rw-r--r--comp2511/blackout/LaptopDevice.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/comp2511/blackout/LaptopDevice.java b/comp2511/blackout/LaptopDevice.java
new file mode 100644
index 0000000..b39c762
--- /dev/null
+++ b/comp2511/blackout/LaptopDevice.java
@@ -0,0 +1,14 @@
+package unsw.blackout;
+
+import unsw.utils.Angle;
+
+public class LaptopDevice extends DeviceBase {
+ public LaptopDevice(String deviceID, Angle position) {
+ super(deviceID, position);
+ }
+
+ @ Override
+ public double getRange() {
+ return 100_000.0;
+ }
+}