move-window ( scroller move -- )


Vocabulary
gamelib.demos.maze-game

Inputs
scrolleran object
movean object


Outputs
None

Definition


:: move-window ( scroller move -- )
{
{ [ move LEFT = ] [ scroller x>> -100 swap slide-by ] }
{ [ move RIGHT = ] [ scroller x>> 100 swap slide-by ] }
{ [ move DOWN = ] [ scroller y>> 100 swap slide-by ] }
{ [ move UP = ] [ scroller y>> -100 swap slide-by ] }
} cond ;