lispjam24/structs.rkt

11 lines
229 B
Racket

#lang racket/gui
(provide (all-defined-out))
(struct item (name size))
(struct equipment item (type))
(struct weapon equipment (damage))
(struct armor equipment (resistance))
(struct entity (name species equipment inventory))