示例#1
0
 public ManaPotion(string id, Point coordinates)
     : base(id, 
         coordinates, 
         ManaPotionHealthEffect, 
         ManaPotionDefenseEffect, 
         ManaPotionAttackEffect, 
         ManaPotionManaEffect)
 {
     this.Model = "/SeaAdventure;component/Resources/Mana_Icon.png";
 }
示例#2
0
 protected Item(
     string id, 
     Point coordinates, 
     int healthEffect, 
     int defenseEffect, 
     int attackEffect, 
     int manaEffect)
     : base(id, coordinates)
 {
     this.HealthEffect = healthEffect;
     this.DefenseEffect = defenseEffect;
     this.AttackEffect = attackEffect;
     this.ManaEffect = manaEffect;
     this.IsTaken = false;
     this.State = ItemState.Available;
 }
示例#3
0
 public Pearl(string id, Point coordinates)
     : base(id, coordinates, PerlHealthEffect, PerlDefenseEffect, PerlAttackEffect, PerlManaEffect)
 {
     this.Model = "/SeaAdventure;component/Resources/Item_Pearl.png";
 }
 public TurtleShield(string id, Point coordinates)
     : base(id, coordinates, TurtleShieldDefenseEffect)
 {
     this.Model = "/SeaAdventure;component/Resources/Turtle_Shield.png";
 }
示例#5
0
 protected Weapon(string id, Point coordinates, int attackEffect)
     : base(id, coordinates, WeaponHealthEffect, WeaponDefenseEffect, attackEffect, WeaponManaEffect)
 {
 }
示例#6
0
 public Algae(string id, Point coordinates, AlgaePortionSize amount)
     : base(id, coordinates)
 {
     this.Amount = amount;
 }
 public EmptyCocaColaCan(string id, Point coordinates)
     : base(id, coordinates, EmptyCocaColaCanDefenseEffect)
 {
     this.Model = "/SeaAdventure;component/Resources/Cola_Can.png";
 }
示例#8
0
 protected Armor(string id, Point coordinates, int deffenceEffect)
     : base(id, coordinates, ArmorHealthEffect, deffenceEffect, ArmorAttackEffect, ArmorManaEffect)
 {
 }
示例#9
0
 public Seashell(string id, Point coordinates)
     : base(id, coordinates, SeashellDefenseEffect)
 {
     this.Model = "/SeaAdventure;component/Resources/Seashell.PNG";
 }
示例#10
0
 public SharksTooth(string id, Point coordinates)
     : base(id, coordinates, SharksToothAttackEffect)
 {
     this.Model = "/SeaAdventure;component/Resources/Shark_Tooth.png";
 }
示例#11
0
 public VenomSpike(string id, Point coordinates)
     : base(id, coordinates, VenomSpikeAttackEffect)
 {
     this.Model = "/SeaAdventure;component/Resources/Spike.png";
 }