From b4140460014d1fc134df9127600f6da2346376e3 Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Tue, 20 Aug 2024 17:34:18 -0700 Subject: init commit with base ECS and Network System --- kennel/engine/entities/cat.py | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 kennel/engine/entities/cat.py (limited to 'kennel/engine/entities/cat.py') diff --git a/kennel/engine/entities/cat.py b/kennel/engine/entities/cat.py new file mode 100644 index 0000000..02fdb33 --- /dev/null +++ b/kennel/engine/entities/cat.py @@ -0,0 +1,33 @@ +# +# # IDLE, FROLICKING, EEPY, ALERT, CHASING_CURSOR, CHASING_CAT, SCRATCHING, ITCHY +# state_stochastic_matrix = [ +# # IDLE +# [0.5, 0.1, 0.1, 0.1, 0.1, 0.05, 0.05, 0], +# # FROLICKING +# [0.1, 0.5, 0.1, 0.1, 0.1, 0.05, 0.05, 0], +# # EEPY +# [0.1, 0.1, 0.5, 0.1, 0.1, 0.05, 0.05, 0], +# # ALERT +# [0.1, 0.1, 0.1, 0.5, 0.1, 0.05, 0.05, 0], +# # CHASING_CURSOR +# [0.1, 0.1, 0.1, 0.1, 0.5, 0.05, 0.05, 0], +# # CHASING_CAT +# [0.1, 0.1, 0.1, 0.1, 0.1, 0.5, 0.05, 0], +# # SCRATCHING +# [0.1, 0.1, 0.1, 0.1, 0.1, 0.05, 0.5, 0], +# # ITCHY +# [0, 0, 0, 0, 0, 0, 0, 1], +# ] +# +# +# class CatState(Enum): +# IDLE = 0 +# FROLICKING = 1 +# EEPY = 2 +# ALERT = 3 +# CHASING_CURSOR = 4 +# CHASING_CAT = 5 +# SCRATCHING = 6 +# ITCHY = 7 +# +# -- cgit v1.3