public Bullet(int x, int y, ChallengeService.direction direction, int id) { this.x = x; this.y = y; this.direction = direction; this.id = id; this.updated = true; }
public Tank(int x, int y, ChallengeService.direction direction, int id) { Initialize(); this.x = x; this.y = y; this.id = id; this.direction = direction; updated = true; }