hotfix
This commit is contained in:
parent
bfda449911
commit
baf0c9f093
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ namespace ZoFo.GameCore.GameObjects
|
||||||
isAttacking = false;
|
isAttacking = false;
|
||||||
StartAnimation("zombie_walk");
|
StartAnimation("zombie_walk");
|
||||||
collisionComponent.isTrigger = true;
|
collisionComponent.isTrigger = true;
|
||||||
collisionComponent.hasCollision = false;
|
collisionComponent.hasCollision = true;
|
||||||
(graphicsComponent as AnimatedGraphicsComponent).actionOfAnimationEnd += EndAttack;
|
(graphicsComponent as AnimatedGraphicsComponent).actionOfAnimationEnd += EndAttack;
|
||||||
collisionComponent.OnTriggerZone += OnPlayerClose;
|
collisionComponent.OnTriggerZone += OnPlayerClose;
|
||||||
collisionComponent.triggerRectangle = new Rectangle(-5, -5, 40, 40);
|
collisionComponent.triggerRectangle = new Rectangle(-5, -5, 40, 40);
|
||||||
|
|
Loading…
Add table
Reference in a new issue