Beispiel #1
0
 public Character(String name)
 {
     if (name != "")
     {
         this.name = name;
     }
     else
     {
         this.name = "Default (no select)";
     }
     this.health = FightArena.double_roll_the_dice() + 12;
     this.attack = FightArena.roll_the_dice() + 6;
 }
Beispiel #2
0
 public static int double_roll_the_dice()
 {
     return(FightArena.roll_the_dice() + FightArena.roll_the_dice());
 }