mirror of
https://github.com/a2geek/mouse-maze-2001.git
synced 2024-05-28 20:41:33 +00:00
29 lines
569 B
Java
29 lines
569 B
Java
|
package a2geek.games.mousemaze2001.mazeobjects;
|
||
|
import java.awt.*;
|
||
|
|
||
|
/**
|
||
|
* Purple (cyan) explosion tile.
|
||
|
*
|
||
|
* Creation date: (10/23/01 9:39:30 PM)
|
||
|
* @author: <a href='mailto:greener@charter.net'>Rob Greene</a>
|
||
|
* @version: RJG 10/23/2001 23:16:23
|
||
|
*/
|
||
|
public class PurpleTile extends ColoredMazeObject {
|
||
|
/**
|
||
|
* PurpleTile constructor comment.
|
||
|
*/
|
||
|
public PurpleTile() {
|
||
|
super();
|
||
|
setBackground(Color.cyan);
|
||
|
}
|
||
|
|
||
|
|
||
|
/**
|
||
|
* Retrieve the background color of this tile.
|
||
|
*
|
||
|
* Creation date: (10/23/01 9:50:07 PM)
|
||
|
*/
|
||
|
public Color getBackground() {
|
||
|
return Color.magenta;
|
||
|
}
|
||
|
}
|