fix(examples): add missing HUD in one-player example
This commit is contained in:
parent
fd1a05a9a8
commit
80072d285a
2 changed files with 7 additions and 0 deletions
|
@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
|
||||
## Unreleased
|
||||
|
||||
### Fixed
|
||||
|
||||
- **examples:** Add missing HUD example for one-player plateformer
|
||||
|
||||
## 0.5.0 - 2019-06-16
|
||||
|
||||
- Meta: Add a Code of Conduct
|
||||
|
|
|
@ -66,5 +66,8 @@ function Player:collisionResponse(collision)
|
|||
end
|
||||
end
|
||||
|
||||
function Player:drawHUD(id)
|
||||
love.graphics.print(id .. " test", 4, 4)
|
||||
end
|
||||
|
||||
return Player
|
||||
|
|
Loading…
Reference in a new issue