Example #1
0
 private void Fill()
 {
     specialty = HexSpecialties.None;
     StartCoroutine(Rise(FILL_RISE_PER_SECOND +
                         UnityEngine.Random.Range(-FILL_RISE_RANDOMISER, FILL_RISE_RANDOMISER)));
     SetMaterial(HexMap.instance.GetHexColouredMaterial(materialIndex));
 }
Example #2
0
 public void Soften()
 {
     specialty = HexSpecialties.None;
     StartCoroutine(Fall());
 }
Example #3
0
 private void BecomeAnEnemy()
 {
     specialty = HexSpecialties.Enemy;
     StartCoroutine(Rise(12));
     SetMaterial(HexMap.instance.EnemyHexMat);
 }
Example #4
0
 private void Harden()
 {
     specialty = HexSpecialties.Hard;
     StartCoroutine(Rise(12));
     SetMaterial(HexMap.instance.hardHexMat);
 }