Example #1
0
 public Battle(Udemae udemae)
 {
     Players = new Player[8];
     Teams = new int[2][];
     Teams[0] = new int[4] { -1, -1, -1, -1 };
     Teams[1] = new int[4] { -1, -1, -1, -1 };
     Udemae = udemae;
 }
Example #2
0
 internal UserProfile(string name, Uri miiImageUri, byte rank, Udemae udemae, Uri weaponImageUri, Uri weaponRetinaImageUri, Gear headGear, Gear clothesGear, Gear shoesGear, List<PaintedRank> paintedRank)
 {
     this.Name = name;
     this.MiiImageUri = miiImageUri;
     this.Rank = rank;
     this.Udemae = udemae;
     this.WeaponImageUri = weaponImageUri;
     this.WeaponRetinaImageUri = weaponRetinaImageUri;
     this.HeadGear = headGear;
     this.ClothesGear = clothesGear;
     this.ShoesGear = shoesGear;
     this._PaintedRank = paintedRank;
 }
Example #3
0
 public bool CanJoin(Udemae udemae)
 {
     if (IsFull) return false;
     var i = (int)udemae - (int)Udemae;
     return i >= -1 && i <= 2;
 }
Example #4
0
 public void RankUp()
 {
     if (Udemae == SplatoonSim.Udemae.Splus)
     {
         UdemaePoint = 99;
         IsCountStop = true;
     }
     else
     {
         Udemae = (Udemae)(Udemae + 1);
         UdemaePoint = 30;
     }
 }
Example #5
0
 public void RankDown()
 {
     if (Udemae == SplatoonSim.Udemae.Cminus)
     {
         UdemaePoint = 0;
     }
     else
     {
         Udemae = (Udemae)(Udemae - 1);
         UdemaePoint = 70;
     }
 }