Combine
In the CodeWorld system, an activityOf
takes in:
- the
GameState
- an event handler (signature
Event -> GameState -> GameState
) - a draw handler (signature
GameState -> Picture
)
In the CodeWorld system, an activityOf
takes in:
GameState
Event -> GameState -> GameState
)GameState -> Picture
)