You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

ISkill.cs 809 B

1234567891011121314151617181920212223242526272829
  1. using GameClass.GameObj;
  2. using Preparation.Utility;
  3. using System.Collections.Generic;
  4. namespace GameClass.Skill
  5. {
  6. public interface ISkill
  7. {
  8. }
  9. public interface IPassiveSkill: ISkill
  10. {
  11. public void SkillEffect(Character player);
  12. }
  13. public interface IActiveSkill : ISkill
  14. {
  15. public int SkillCD { get; }
  16. public int DurationTime { get; } //技能持续时间
  17. public object ActiveSkillLock { get; }
  18. public bool SkillEffect(Character player);
  19. }
  20. public interface ICharacterType
  21. {
  22. public int MoveSpeed { get; }
  23. public int MaxHp { get; }
  24. public BulletType InitBullet { get; }
  25. public List<IActiveSkill> ListOfIActiveSkill { get; }
  26. public List<IPassiveSkill> ListOfIPassiveSkill { get; }
  27. }
  28. }