Commit 09a1025c authored by nargessalehi98's avatar nargessalehi98

Add javaDoc.

parent 2d575008
......@@ -2,17 +2,28 @@ import java.awt.*;
import java.awt.image.BufferedImage;
import java.util.ArrayList;
/**
* this class link between classes and their fields
* @author narges salehi & sepehr tavakoli
* @version 1.1
* @since @since July 21 2020
*/
public class Controller {
//redefine some variable as static
public static String userName;
public static Graphics2D g2d;
public static BufferedImage taken;
public static int row;
public static int col;
public static int realMapSize;
public static ArrayList<Wall> walls;
public static ArrayList<Prize> prizes;
public static ArrayList<Prize> prizes;
public static ArrayList<Tank> tanks;
public static ArrayList<Integer> prizeLoc;
public static boolean getPrize;
public static long renderCount;
public static long renderCountLimit;
public static int bulletSpeed;
public static boolean laser;
public static int bulletDamage;
public static int tankHealth;
public static int wallsHealth;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment