Added some comments to input and input_attack class
This commit is contained in:
parent
6b97ca6046
commit
f7a1bfc062
@ -1,7 +1,11 @@
|
|||||||
package input;
|
package input;
|
||||||
|
|
||||||
public class 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];
|
public Boolean[] tab = new Boolean[8];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -3,5 +3,9 @@ package input;
|
|||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
|
||||||
public class Input_Attack {
|
public class Input_Attack {
|
||||||
|
/*
|
||||||
|
* The list of all input needed to make an attack
|
||||||
|
*/
|
||||||
public ArrayList<Input> input_list;
|
public ArrayList<Input> input_list;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user