Add enum for player distance from objects like food
This enum will be used in decision tree learning.
This commit is contained in:
parent
479137ce74
commit
c4d4d6bb52
@ -0,0 +1,12 @@
|
|||||||
|
from enum import Enum
|
||||||
|
|
||||||
|
|
||||||
|
class DistFromObject(Enum):
|
||||||
|
"""
|
||||||
|
Distance in fields from object.
|
||||||
|
|
||||||
|
"""
|
||||||
|
|
||||||
|
LT_3 = 0,
|
||||||
|
GE_3_LT_8 = 1,
|
||||||
|
GE_8 = 2
|
Loading…
Reference in New Issue
Block a user