aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/hydro_roll_core/rules/BaseRule/JudgeRule.py
diff options
context:
space:
mode:
Diffstat (limited to 'hydro_roll_core/rules/BaseRule/JudgeRule.py')
-rw-r--r--hydro_roll_core/rules/BaseRule/JudgeRule.py18
1 files changed, 18 insertions, 0 deletions
diff --git a/hydro_roll_core/rules/BaseRule/JudgeRule.py b/hydro_roll_core/rules/BaseRule/JudgeRule.py
new file mode 100644
index 0000000..20e1989
--- /dev/null
+++ b/hydro_roll_core/rules/BaseRule/JudgeRule.py
@@ -0,0 +1,18 @@
+import dataclasses
+from dataclasses import dataclass
+from typing import Literal, Optional, Union
+from typing_extensions import override
+
+@dataclass
+class JudgeRule(object):
+ """判定规则"""
+ property: type
+
+class Custom(JudgeRule):
+ ...
+
+class Attribute(Custom):
+ ...
+
+class Skill(Custom):
+ ...