예제 #1
0
 public KnightUnit()
 {
     UnitStats = new UnitStats()
     {
         Attack            = 90,
         InfanteryDefence  = 40,
         CavaleryDefence   = 30,
         MagicDefence      = 20,
         ArtillerieDefence = 40,
         Space             = 2,
         FoodUsage         = 25,
         Speed             = 10,
         AttackStructure   = 90
     };
     UnitCost = new UnitCost()
     {
         Iron = 250,
         Gold = 100
     };
     ImagePath  = "pack://application:,,,/Resources/Images/Units/units_knight.png";
     Name       = "Knight";
     UnitType   = UnitType.Cavalery;
     UnitEntity = UnitEntity.Knight;
 }
예제 #2
0
 public GuardianUnit()
 {
     UnitStats = new UnitStats()
     {
         Attack = 10,
         InfanteryDefence = 30,
         CavaleryDefence = 50,
         MagicDefence = 20,
         ArtillerieDefence = 15,
         Space = 1,
         FoodUsage = 3,
         Speed = 20,
         AttackStructure = 10
     };
     UnitCost = new UnitCost()
     {
         Iron = 140,
         Gold = 40
     };
     ImagePath = "pack://application:,,,/Resources/Images/Units/units_guardian.png";
     Name = "Guardian";
     UnitType = UnitType.Infantery;
     UnitEntity = UnitEntity.Guardian;
 }
예제 #3
0
 public GuardianUnit()
 {
     UnitStats = new UnitStats()
     {
         Attack            = 10,
         InfanteryDefence  = 30,
         CavaleryDefence   = 50,
         MagicDefence      = 20,
         ArtillerieDefence = 15,
         Space             = 1,
         FoodUsage         = 3,
         Speed             = 20,
         AttackStructure   = 10
     };
     UnitCost = new UnitCost()
     {
         Iron = 140,
         Gold = 40
     };
     ImagePath  = "pack://application:,,,/Resources/Images/Units/units_guardian.png";
     Name       = "Guardian";
     UnitType   = UnitType.Infantery;
     UnitEntity = UnitEntity.Guardian;
 }
예제 #4
0
 public KnightUnit()
 {
     UnitStats = new UnitStats()
     {
         Attack = 90,
         InfanteryDefence = 40,
         CavaleryDefence = 30,
         MagicDefence = 20,
         ArtillerieDefence = 40,
         Space = 2,
         FoodUsage = 25,
         Speed = 10,
         AttackStructure = 90
     };
     UnitCost = new UnitCost()
     {
         Iron = 250,
         Gold = 100
     };
     ImagePath = "pack://application:,,,/Resources/Images/Units/units_knight.png";
     Name = "Knight";
     UnitType = UnitType.Cavalery;
     UnitEntity = UnitEntity.Knight;
 }