From 04b5a62b8d9f5ff8240f25361046f2a5d58e8262 Mon Sep 17 00:00:00 2001 From: Mavridis Philippe Date: Wed, 7 Aug 2024 19:13:02 +0300 Subject: Add Kue billiards game Signed-off-by: Mavridis Philippe --- kue/rules.cpp | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 kue/rules.cpp (limited to 'kue/rules.cpp') 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" -- cgit v1.2.1