summaryrefslogtreecommitdiffstats
path: root/kue/rules.cpp
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2024-08-07 19:13:02 +0300
committerMavridis Philippe <mavridisf@gmail.com>2024-08-07 19:23:24 +0300
commit04b5a62b8d9f5ff8240f25361046f2a5d58e8262 (patch)
tree98b126454cdf68d544e138d7e8b31d5fd45b72c2 /kue/rules.cpp
parent83ba00b7e569587d50383ff06a70148042ca780e (diff)
downloadtdegames-feat/kue.tar.gz
tdegames-feat/kue.zip
Add Kue billiards gamefeat/kue
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'kue/rules.cpp')
-rw-r--r--kue/rules.cpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/kue/rules.cpp b/kue/rules.cpp
new file mode 100644
index 00000000..4a15ac48
--- /dev/null
+++ b/kue/rules.cpp
@@ -0,0 +1,22 @@
+#include "rules.h"
+
+// Stub implementations
+// These functions exist purely to define an interface to inherit from
+
+void KueRulesEngine::billiardSunk(unsigned int ball, unsigned int pocket)
+{
+ Q_UNUSED(ball);
+ Q_UNUSED(pocket);
+}
+
+void KueRulesEngine::billiardHit(unsigned int ball1, unsigned int ball2)
+{
+ Q_UNUSED(ball1);
+ Q_UNUSED(ball2);
+}
+
+void KueRulesEngine::motionStopped()
+{
+}
+
+#include "rules.moc"