Commit ca539b57 authored by Chouasne's avatar Chouasne

Corrected the code for getting red when HIT and optimisation

parent 00af072c
......@@ -18,6 +18,7 @@ import graphics.guiSkeleton.*;
import graphics.guiSkeleton.entityDisplayer.HealthBarDisplayer;
import graphics.guiSkeleton.mapManagement.*;
import graphics.guiSkeleton.sprites.Animation;
import graphics.guiSkeleton.sprites.EntityAnimation;
import graphics.ingame_input_listener.Input;
import logging.Logging;
......@@ -172,6 +173,7 @@ public class GamePanel extends GUIPanel implements GameContentMapChangeListener,
/** Update the Animations **/
Animation.updateAnimation();
EntityAnimation.updateAnimation();
synchronized (LocalGameLoop.getInstance())
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment