package.lisp @ 4922d66cbba5

Clean up sidebar, add health and energy
author Steve Losh <steve@stevelosh.com>
date Sat, 07 Jan 2017 16:26:29 +0000
parents 5560e722bc5c
children 8961421a3c9b
(defpackage :ap.utilities
  (:use
    :cl
    :iterate
    :cl-arrows
    :losh
    :beast
    :ap.quickutils)
  (:export
    :with-window
    :with-windows
    :with-panels
    :with-panel
    :with-panel-and-window
    :with-panels-and-windows
    :center
    :border
    :redraw
    :write-string-left
    :write-string-right
    :write-string-centered
    :write-lines-left
    :write-lines-centered
    :with-dims
    :defcolors
    :with-color
    :init-colors
    ))

(defpackage :ap.generation
  (:use
    :cl
    :iterate
    :cl-arrows
    :losh
    :beast
    :ap.utilities
    :ap.quickutils)
  (:export))

(defpackage :ap.entities
  (:use
    :cl
    :iterate
    :cl-arrows
    :losh
    :beast
    :ap.utilities
    :ap.quickutils)
  (:export
    :player
    :make-player
    :player/health
    :health-description
    :player/energy
    :energy-description

    :coords
    :coords/x
    :coords/y
    :coords?
    :coords-lookup

    :visible
    :visible?
    :visible/glyph
    :visible/color
    ))

(defpackage :ap
  (:use
    :cl
    :iterate
    :cl-arrows
    :losh
    :beast
    :ap.entities
    :ap.utilities
    :ap.quickutils)
  (:export
    :main))