23 lines
469 B
C#
23 lines
469 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
[System.Serializable]
|
|
public class RankLevel{
|
|
public string name;
|
|
public int minimumTrophies;
|
|
public int trophieLoss;
|
|
public int entryFee;
|
|
public int energyReward;
|
|
public Sprite image;
|
|
public Color color;
|
|
}
|
|
|
|
|
|
public static class ExtensionMethods
|
|
{
|
|
public static int RoundOff (this int i)
|
|
{
|
|
return ((int)Mathf.Round((float)i / 10f)) * 10;
|
|
}
|
|
} |