Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
tutorials:beginner:assigning_actions [2016/03/04 14:11] gkazhoya |
tutorials:beginner:assigning_actions [2016/03/04 14:25] (current) gkazhoya old revision restored (2016/01/25 23:21) |
||
---|---|---|---|
Line 77: | Line 77: | ||
<code lisp> | <code lisp> | ||
TUT> (defparameter center-location | TUT> (defparameter center-location | ||
- | (make-designator 'location '((:horizontal-position :center) (:vertical-position :center)))) | + | (make-designator :location '((:horizontal-position :center) (:vertical-position :center)))) |
CENTER-LOCATION | CENTER-LOCATION | ||
TUT> (defparameter goal-action | TUT> (defparameter goal-action | ||
- | (make-designator 'action `((:type :goal) (:goal ,center-location)))) | + | (make-designator :action `((:type :goal) (:goal ,center-location)))) |
GOAL-ACTION | GOAL-ACTION | ||
TUT> (defparameter shape-action | TUT> (defparameter shape-action | ||
- | (make-designator 'action '((:type :shape) (:shape :triangle) (:radius 1.6)))) | + | (make-designator :action '((:type :shape) (:shape :triangle) (:radius 1.6)))) |
SHAPE-ACTION | SHAPE-ACTION | ||
</code> | </code> |