001 (ns the-great-game.objects.container
002 (:require
003 [the-great-game.objects.game-object :refer :all]))
004
005 (defprotocol ProtoContainer
006 (contents
007 [container]
008 "Return a sequence of the contents of this `container`, or `nil` if empty.")
009 (is-empty?
010 [container]
011 "Return `true` if this `container` is empty, else `false`."))