23 lines
446 B
Java
23 lines
446 B
Java
package tp.p2.game.GameObjects;
|
||
|
||
import tp.p2.game.Game;
|
||
|
||
/**
|
||
* @author Fernando M<>ndez Torrubiano
|
||
*
|
||
*/
|
||
|
||
public abstract class Ship extends GameObject {
|
||
|
||
//Constructor:
|
||
public Ship(Game game, int fila, int col, int live) {
|
||
super(game, fila, col, live);
|
||
}
|
||
|
||
//M<>todos:
|
||
public abstract void computerAction();
|
||
public abstract void onDelete();
|
||
public abstract void move();
|
||
public abstract String toString();
|
||
}
|