public Enemies(int frame, Obstacle enemies) { this.frame = frame; this.enemies = enemies; }
public Tree(int frame, Obstacle obstacle) { this.frame = frame; this.obstacle = obstacle; }