Added some comments to input and input_attack class

This commit is contained in:
keizaal 2021-05-26 23:43:26 +02:00
parent 6b97ca6046
commit f7a1bfc062
2 changed files with 9 additions and 1 deletions

View File

@ -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];
}

View File

@ -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> input_list;
}