Esempio n. 1
0
 public TorchItem() : base(new WeaponItemConfiguration
 {
     Name      = "Torch",
     Key       = "torch",
     HitChance = 50,
     Rareness  = ItemRareness.Trash,
     Weight    = 1500,
     MinDamage = new Dictionary <Element, int>
     {
         { Element.Fire, 1 },
         { Element.Blunt, 1 }
     },
     MaxDamage = new Dictionary <Element, int>
     {
         { Element.Fire, 3 },
         { Element.Blunt, 3 }
     },
     LightPower    = LightLevel.Dim1,
     Description   = new [] { "Rude torch made from wood and clothes." },
     MaxDurability = 20
 })
 {
     animation = new AnimationsBatchManager(TimeSpan.FromMilliseconds(500),
                                            AnimationFrameStrategy.OneByOneStartFromRandom);
 }
Esempio n. 2
0
 public DungeonTorchPost() 
     : base("Torch Post")
 {
     animationsManager = new AnimationsBatchManager(TimeSpan.FromMilliseconds(500), AnimationFrameStrategy.Random);
 }
Esempio n. 3
0
 public DungeonTorchWall()
     : base("Dungeon Wall")
 {
     animationsManager = new AnimationsBatchManager(TimeSpan.FromMilliseconds(300),
                                                    AnimationFrameStrategy.OneByOneStartFromRandom);
 }
Esempio n. 4
0
 public FireObject(int temperature)
     : base("Fire")
 {
     animations       = new AnimationsBatchManager(TimeSpan.FromMilliseconds(500), AnimationFrameStrategy.Random);
     this.temperature = temperature;
 }
Esempio n. 5
0
 public FireObject(SaveData data)
     : base(data)
 {
     animations  = new AnimationsBatchManager(TimeSpan.FromMilliseconds(500), AnimationFrameStrategy.Random);
     temperature = data.GetIntValue(SaveKeyTemperature);
 }
Esempio n. 6
0
 public WaterSteam(int volume)
     : base(volume, WaterLiquid.LiquidType, "Water Steam")
 {
     animations = new AnimationsBatchManager(TimeSpan.FromSeconds(1), AnimationFrameStrategy.Random);
 }
Esempio n. 7
0
 public WaterSteam(SaveData data) : base(data)
 {
     animations = new AnimationsBatchManager(TimeSpan.FromSeconds(1), AnimationFrameStrategy.Random);
 }
Esempio n. 8
0
 public TorchItem(SaveData data) : base(data)
 {
     animation = new AnimationsBatchManager(TimeSpan.FromMilliseconds(500),
                                            AnimationFrameStrategy.OneByOneStartFromRandom);
 }