Terasology / LightAndShadow

Light & Shadow is an experimental game type set in a quirky Alice in Wonderland inspired setting
Apache License 2.0
8 stars 22 forks source link

Add a timer to indicate when the restart button gets enabled #161

Closed ahv15 closed 4 years ago

ahv15 commented 4 years ago

Contains

Adds a timer to show when the the restart button will be enabled.

How to test

In addition to this PR check Terasology/LightAndShadowResources#60. Join a single player or multiplayer game and when the game is over a timer should appear to show when the restart button will be enabled.

Outstanding before merging

ahv15 commented 4 years ago

There probably will be some style issues as I reset my workspace, hopefully checkstyle is working fine. Need to add an additional PR to LightAndShadowResources too, to add the disabled mode for the UI Button in the client game over skin.

ahv15 commented 4 years ago

@stefaniamak made the change and it disappears, did try setting the timer as invisible but the timer remained invisible the entire time even if I set it as visible or invisible so I tried it out in this way instead.