Basic combat
This commit is contained in:
parent
31a0bd9a34
commit
0b164302c4
7 changed files with 636 additions and 55 deletions
|
|
@ -29,6 +29,22 @@
|
|||
(color label-color set-label-color!)
|
||||
(text label-text set-label-text!))
|
||||
|
||||
(export process-dynamic-labels)
|
||||
(define process-dynamic-labels
|
||||
(make-system
|
||||
'process-dynamic-labels
|
||||
9
|
||||
'entity
|
||||
'(<label> <dynamic-label>)
|
||||
(lambda (_ label d-label)
|
||||
(set-label-text! label ((label-func d-label))))))
|
||||
|
||||
(export dynamic-label)
|
||||
(define-record-type <dynamic-label>
|
||||
(dynamic-label func)
|
||||
dynamic-label?
|
||||
(func label-func))
|
||||
|
||||
;; Title/subtitle/footer etc are basically just different styles
|
||||
(export title)
|
||||
(define (title position text
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue