Skip to content
Snippets Groups Projects
Commit fdd5e45f authored by Paolo Brasolin's avatar Paolo Brasolin
Browse files

feat: #fe remove clock icon from HUD

parent cd8777f3
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
### Changed
- `FE` Removed redundant clock icon from HUD.
## [1.0.0] - 2022-04-21
### Added
......
......@@ -109,12 +109,7 @@ export default class HUD {
initClock(scene: Phaser.Scene) {
return scene.add
.text(
scene.cameras.main.width * 0.5,
0,
`${ICONS.CLOCK}1:23.32`,
this.statsTextStyle(),
)
.text(scene.cameras.main.width * 0.5, 0, "", this.statsTextStyle())
.setOrigin(0.5, 0);
}
......@@ -131,7 +126,8 @@ export default class HUD {
}
setClock(milliseconds: number) {
this.clock.text = `${formatTime(milliseconds)}${THIN_SPACE}${ICONS.CLOCK}`;
this.clock.text = formatTime(milliseconds);
// this.clock.text = `${formatTime(milliseconds)}${THIN_SPACE}${ICONS.CLOCK}`;
}
showSubmitFeedback(color: string, input: string) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment