at end of trial select a random target and make it blink
[rmh3093.git] / motsim / Target.java
blob48f54f5dbbed2a7f7c00eda22fd8c6e45b7cf847
1 import java.awt.Color;
3 /**
4 * Target.java
5 * motsim
6 */
8 public class Target {
10 String callsign;
11 int moveAngle;
12 double x, y;
13 double velX, velY;
14 int string_width;
15 int font_size;
16 boolean remove;
17 double velocityMOD;
18 boolean move;
19 int steps;
21 public Target( String callsign, double x, double y,
22 int moveAngle, double velX, double velY, double velocityMOD) {
23 this.callsign = callsign;
24 this.x = x;
25 this.y = y;
26 this.moveAngle = moveAngle;
27 this.velX = velX;
28 this.velY = velY;
29 this.remove = false;
30 this.velocityMOD = velocityMOD;
31 move = false;
32 steps = 0;