TO SQUASH: Jesus!!
This commit is contained in:
@@ -74,6 +74,8 @@ public class Player : MonoBehaviour
|
||||
|
||||
public int percentCovered = 0;
|
||||
|
||||
public float multiplier = 1.0f;
|
||||
|
||||
private bool flipped = false;
|
||||
|
||||
private bool gameOver = false;
|
||||
@@ -517,4 +519,10 @@ public class Player : MonoBehaviour
|
||||
Physics2D.IgnoreCollision(collision.collider, GetComponent<Collider2D>(), true);
|
||||
}
|
||||
}
|
||||
|
||||
public void OnWallSpawned(int areaPercentage)
|
||||
{
|
||||
canFire = true;
|
||||
// TODO: Award points based on the area of the spawned wall.
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user