示例#1
0
 public void PlayerPushedOut(SumoWrestler defendant, SumoWrestler aggressor)
 {
     defendant.Restart();
     if (aggressor)
     {
         ChainJam.AddPoints(aggressor.ID, 1);
         points[(int)aggressor.ID] += 1;
     }
 }
示例#2
0
    private void die()
    {
        if (lastHit != null)
        {
            ChainJam.AddPoints(lastHit.id, 1);
        }

        this.transform.position = Platform.Platforms[
            Random.Range(0, Platform.Platforms.Count - 1)
                                  ].transform.position + Vector3.up;
    }