repo.or.cz
/
rmh3093.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
better
[rmh3093.git]
/
motsim2
/
Target.java
blob
646e027c036716feb19e095dcf86e87affacc293
1
/**
2
* Target.java
3
* motsim
4
*/
5
6
import
java
.
awt
.
Point
;
7
8
public class
Target
{
9
10
String callsign
;
11
Point coordinate
;
12
int
moveAngle
;
13
double
velX
,
velY
;
14
int
string_width
;
15
int
font_size
;
16
17
public
Target
() {
18
}
19
20
public
Target
(
String callsign
,
Point coordinate
,
21
int
moveAngle
,
double
velX
,
double
velY
) {
22
this
.
callsign
=
callsign
;
23
this
.
coordinate
=
coordinate
;
24
this
.
moveAngle
=
moveAngle
;
25
this
.
velX
=
velX
;
26
this
.
velY
=
velY
;
27
}
28
29
}