Example #1
0
 public ManaPotion(string id, Point coordinates)
     : base(id, 
         coordinates, 
         ManaPotionHealthEffect, 
         ManaPotionDefenseEffect, 
         ManaPotionAttackEffect, 
         ManaPotionManaEffect)
 {
     this.Model = "/SeaAdventure;component/Resources/Mana_Icon.png";
 }
Example #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;
 }
Example #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";
 }
Example #5
0
 protected Weapon(string id, Point coordinates, int attackEffect)
     : base(id, coordinates, WeaponHealthEffect, WeaponDefenseEffect, attackEffect, WeaponManaEffect)
 {
 }
Example #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";
 }
Example #8
0
 protected Armor(string id, Point coordinates, int deffenceEffect)
     : base(id, coordinates, ArmorHealthEffect, deffenceEffect, ArmorAttackEffect, ArmorManaEffect)
 {
 }
Example #9
0
 public Seashell(string id, Point coordinates)
     : base(id, coordinates, SeashellDefenseEffect)
 {
     this.Model = "/SeaAdventure;component/Resources/Seashell.PNG";
 }
Example #10
0
 public SharksTooth(string id, Point coordinates)
     : base(id, coordinates, SharksToothAttackEffect)
 {
     this.Model = "/SeaAdventure;component/Resources/Shark_Tooth.png";
 }
Example #11
0
 public VenomSpike(string id, Point coordinates)
     : base(id, coordinates, VenomSpikeAttackEffect)
 {
     this.Model = "/SeaAdventure;component/Resources/Spike.png";
 }