summaryrefslogtreecommitdiff
path: root/engine/card.go
diff options
context:
space:
mode:
authorewy <ewy0@protonmail.com>2026-09-14 19:48:36 +0200
committerewy <ewy0@protonmail.com>2026-09-14 19:48:36 +0200
commit899ef7448222f0d087c194b3379b702f8dd2ff8c (patch)
tree8c2b508bb4d01236c7f582e4eee91fd178d09670 /engine/card.go
parentc69e6c0770359e2febafcf487eb21c4aa608c3e9 (diff)
add server and websocket comms
Diffstat (limited to 'engine/card.go')
-rw-r--r--engine/card.go16
1 files changed, 16 insertions, 0 deletions
diff --git a/engine/card.go b/engine/card.go
new file mode 100644
index 0000000..52d5a6e
--- /dev/null
+++ b/engine/card.go
@@ -0,0 +1,16 @@
+package engine
+
+type Card struct {
+ Name string
+ AllOut bool
+ Text string
+ Flavor string
+}
+
+func (c *Card) Base() *Card {
+ return c
+}
+
+type IsCard interface {
+ Base() *Card
+}