FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
Java4Kids_code/PingPong/src/enumSamples/GameConstants.java at master · yfain/Java4Kids_code · GitHub
yfain
/
Java4Kids_code
Public
Notifications
You must be signed in to change notification settings
Fork
30
Star
30
Code
Issues
2
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
Java4Kids_code
/
PingPong
/
src
/
enumSamples
/
GameConstants.java
Copy path
More file actions
More file actions
Latest commit
History
History
History
19 lines (12 loc) · 359 Bytes
Breadcrumbs
Java4Kids_code
/
PingPong
/
src
/
enumSamples
/
GameConstants.java
Copy path
File metadata and controls
19 lines (12 loc) · 359 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package
enumSamples
;
/**
* Created by NewProgrammer on 3/28/15.
*/
public
enum
GameConstants
{
TABLE_WIDTH
(
320
),
TABLE_HEIGHT
(
220
),
KID_RACKET_Y_START
(
100
),
KID_RACKET_X_START
(
300
),
TABLE_TOP
(
12
),
TABLE_BOTTOM
(
180
),
RACKET_INCREMENT
(
4
);
private
int
value
;
private
GameConstants
(
int
value
){
this
.
value
=
value
;
};
}
Back
|
FazBrowse Home
|
New Git URL