issues
search
chigix
/
rengular
RDF described Visual Novel-style Game Engine atop Web Components
https://rengular.js.org
MIT License
2
stars
1
forks
source link
http://schema.org/actionOption support in ChoiceMenu
#31
Open
chigix
opened
4 years ago
chigix
commented
4 years ago
Register ChoiceMenu for
http://schema.org/ChooseAction
in
https://github.com/chigix/rengular/blob/master/projects/schema-reg/src/lib/rengular.registry.ts
Add an entry method for accept option IRIs in
http://schema.org/actionOption
after
https://github.com/chigix/rengular/blob/b4afe4cb719b74264971a9e63c6e1f579cdff3be/projects/primitive/src/lib/choice-menu/choice-menu.component.ts#L22
Add new Behavior into ChoiceMenu to support the flow:
PATCH
http://schema.org/object
with the value from
http://schema.org/actionOption
simulation#sceneFromIRI
with the
http://schema.org/result
from the updated
http://schema.org/ChooseAction
PATCH
http://schema.org/object with the value from http://schema.org/actionOptionsimulation#sceneFromIRI
with the http://schema.org/result from the updated http://schema.org/ChooseAction