summaryrefslogtreecommitdiffstats
path: root/kue/pocket.h
diff options
context:
space:
mode:
authorMavridis Philippe <[email protected]>2024-08-07 19:13:02 +0300
committerMavridis Philippe <[email protected]>2024-08-07 19:23:24 +0300
commit04b5a62b8d9f5ff8240f25361046f2a5d58e8262 (patch)
tree98b126454cdf68d544e138d7e8b31d5fd45b72c2 /kue/pocket.h
parent83ba00b7e569587d50383ff06a70148042ca780e (diff)
downloadtdegames-04b5a62b8d9f5ff8240f25361046f2a5d58e8262.tar.gz
tdegames-04b5a62b8d9f5ff8240f25361046f2a5d58e8262.zip
Add Kue billiards gamefeat/kue
Signed-off-by: Mavridis Philippe <[email protected]>
Diffstat (limited to 'kue/pocket.h')
-rw-r--r--kue/pocket.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/kue/pocket.h b/kue/pocket.h
new file mode 100644
index 00000000..4e05ca6a
--- /dev/null
+++ b/kue/pocket.h
@@ -0,0 +1,10 @@
+#ifndef _POCKET_H
+#define _POCKET_H
+
+// Pockets are just circles with a set radius
+class KuePocket : public circle {
+ public:
+ KuePocket(double x, double y, double r) : circle(x, y, r) {}
+};
+
+#endif