Skip to content
Permalink
Browse files

Remove FlickerCharacter() methods in ch7 source code

These aren't addressed until chapter 8
  • Loading branch information...
omundy committed Jan 15, 2019
1 parent 20bfd7f commit 14177d7e89a5fa7679e4da45d5fa6dacb41f023e
Showing with 0 additions and 4 deletions.
  1. +0 −2 Chapter 7/Enemy.cs
  2. +0 −2 Chapter 7/Player.cs
@@ -25,8 +25,6 @@ public override IEnumerator DamageCharacter(int damage, float interval)
{
hitPoints = hitPoints - damage;

StartCoroutine(FlickerCharacter());

if (hitPoints <= float.Epsilon)
{
KillCharacter();
@@ -62,8 +62,6 @@ public override IEnumerator DamageCharacter(int damage, float interval)
{
hitPoints.value = hitPoints.value - damage;

StartCoroutine(FlickerCharacter());

if (hitPoints.value <= float.Epsilon)
{
KillCharacter();

0 comments on commit 14177d7

Please sign in to comment.
You can’t perform that action at this time.