Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
hmans committed Jun 7, 2022
1 parent 5f7dc16 commit 034b4f5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/controlfreak/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ Then use it in your game loop:
```ts
import { controller } from "./controller"

controller.start()

/* Very likely within some sort of loop...: */
controller.update()
console.log(controller.controls.move.value)
Expand Down

0 comments on commit 034b4f5

Please sign in to comment.