Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
J
JTankTrouble
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
9831111
JTankTrouble
Commits
09a1025c
Commit
09a1025c
authored
4 years ago
by
nargessalehi98
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add javaDoc.
parent
2d575008
master
No related merge requests found
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
4 deletions
+15
-4
Controller.java
src/Controller.java
+15
-4
No files found.
src/Controller.java
View file @
09a1025c
...
...
@@ -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
;
}
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment