AlmasB / FXGLGames

This repo contains sample games built with FXGL
http://almasb.github.io/FXGLGames/
MIT License
807 stars 325 forks source link

Added Hit points to logic and also deduct 20% hp on collision #35

Closed ryanlightbrighton closed 1 year ago

ryanlightbrighton commented 1 year ago

Hi Almas : )

ryanlightbrighton commented 1 year ago

Hi Almas,

I forgot to update the timeout variable:

set("lastHitTime",System.nanoTime());

Let me know & I can update it. Thx