Пример #1
0
 /// <summary>
 /// Attack from creature
 /// </summary>
 /// <param name="target">The creature who attack this</param>
 public abstract void Attacked(CreatureBase target);
Пример #2
0
 /// <summary>
 /// Check if creature can interact with material
 /// </summary>
 /// <returns></returns>
 public abstract bool CanBeInteractive(CreatureBase target);
Пример #3
0
 /// <summary>
 /// Interact action
 /// </summary>
 /// <param name="target">Target creature</param>
 /// <param name="use">The skill creature use</param>
 /// <returns>The item creature received</returns>
 public abstract Tuple <ItemBase, int>[] Interact(CreatureBase target, SkillBase use);
Пример #4
0
 public EffectList(CreatureBase _creature)
 {
     creature = _creature;
 }