From f7a1bfc0621cda2c4c878c708a465e3e8468c78c Mon Sep 17 00:00:00 2001 From: keizaal Date: Wed, 26 May 2021 23:43:26 +0200 Subject: [PATCH] Added some comments to input and input_attack class --- GamePlay/input/Input.java | 6 +++++- GamePlay/input/Input_Attack.java | 4 ++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/GamePlay/input/Input.java b/GamePlay/input/Input.java index 311b779..39648e6 100644 --- a/GamePlay/input/Input.java +++ b/GamePlay/input/Input.java @@ -1,7 +1,11 @@ package input; public class Input { - + /* + * A tab where each element represent a possible input + * (UP, Down, Right, Left, A, B, C, D) + * if the value at the corresponding index is true, then the input is pressed + */ public Boolean[] tab = new Boolean[8]; } diff --git a/GamePlay/input/Input_Attack.java b/GamePlay/input/Input_Attack.java index 169fc75..dfe4476 100644 --- a/GamePlay/input/Input_Attack.java +++ b/GamePlay/input/Input_Attack.java @@ -3,5 +3,9 @@ package input; import java.util.ArrayList; public class Input_Attack { + /* + * The list of all input needed to make an attack + */ public ArrayList input_list; + }