blob: 34b8c4f4446ef73da0031f20c460f49c09764001 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
package ch.epfl.maze.physical;
import ch.epfl.maze.util.Vector2D;
/**
* Predator ghost that have two different modes and a home position in the labyrinth.
*
* @author Pacien TRAN-GIRARD
*/
abstract public class GhostPredator extends Predator {
/* constants relative to the Pac-Man game */
public static final int SCATTER_DURATION = 14;
public static final int CHASE_DURATION = 40;
/**
* Constructs a predator with a specified position.
*
* @param position Position of the predator in the labyrinth
*/
public GhostPredator(Vector2D position) {
super(position);
}
}
|