add-pov-gadget ( gadget direction polygon -- gadget direction gadget )


Vocabulary
game.input.demos.joysticks

Inputs
gadgetan object
directionan object
polygonan object


Outputs
gadgetan object
directionan object
gadgetan object


Definition


:: add-pov-gadget
( gadget direction polygon -- gadget direction gadget )
gadget COLOR: white polygon <polygon-gadget>
[ add-gadget ] keep direction swap ;