player.clj

Branches > main > 1fcddae > files / src / net / bowmap / server / player.clj

(ns net.bowmap.server.player
  (:require
   [clojure.spec.alpha :as s]
   [net.bowmap.server.position :as position]))

; Players may have a protocol entity associated with them, or maybe that should be indirect, not sure.
(s/def ::player (s/keys :opt [::uuid ::position/position]))

(s/def ::uuid uuid?)