FixErrorsInGraficDelegate
This commit is contained in:
parent
590540ab61
commit
f7ef5e835b
1 changed files with 3 additions and 3 deletions
|
@ -16,10 +16,10 @@ namespace DangerousD.GameCore.GameObjects.LivingEntities
|
|||
{
|
||||
Width = 32;
|
||||
Height = 64;
|
||||
GraphicsComponent.actionOfAnimationEnd += () =>
|
||||
/*GraphicsComponent.actionOfAnimationEnd += () =>
|
||||
{
|
||||
AppManager.Instance.ChangeGameState(GameState.GameOver);
|
||||
};
|
||||
};*/
|
||||
}
|
||||
public bool IsAlive { get { return isAlive; } }
|
||||
|
||||
|
@ -35,7 +35,7 @@ namespace DangerousD.GameCore.GameObjects.LivingEntities
|
|||
if(monsterName == "Zombie")
|
||||
{
|
||||
DeathRectangle deathRectangle = new DeathRectangle(Pos, "DeathFrom" + monsterName);
|
||||
GraphicsComponent.actionOfAnimationEnd();
|
||||
//GraphicsComponent.actionOfAnimationEnd();
|
||||
}
|
||||
isAlive = false;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue