From 71e62a101d578b3c8360d7d60d2161ca4efd8079 Mon Sep 17 00:00:00 2001 From: Humza Shahid Date: Fri, 20 Dec 2024 07:38:54 +0000 Subject: [PATCH] add player_attacked datatype to player record, and refactor --- fcore/game-type.sml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/fcore/game-type.sml b/fcore/game-type.sml index ed8e4ce..4fc8814 100644 --- a/fcore/game-type.sml +++ b/fcore/game-type.sml @@ -15,7 +15,10 @@ sig datatype player_recoil = NO_RECOIL | RECOIL_LEFT of int | RECOIL_RIGHT of int - datatype player_attacked = NOT_ATTACKED | ATTACKED of int +[main 58f552b] add player_attacked datatype to player record, and refactor + 2 files changed, 138 insertions(+), 42 deletions(-) +To https://github.com/hummy123/quad-tree-sml.git + fec4d99..58f552b main -> main type player = { yAxis: player_y_axis