files
Java/SpaceInvaders/src/tp/p2/game/GameObjects/Interfaces/IPlayerController.java
Fernando Méndez 1d271afe24 Space Invaders
The classic game Space Invaders, without GUI.
2020-09-17 20:06:49 +02:00

21 lines
572 B
Java
Raw Blame History

package tp.p2.game.GameObjects.Interfaces;
import tp.p2.controller.Exceptions.CommandExecuteException;
/**
* @author Fernando M<>ndez Torrubiano
*
*/
public interface IPlayerController {
// PLAYER ACTIONS
public boolean move (String dir, int numCells) throws CommandExecuteException;
public boolean shootLaser();
public boolean shockWave();
public boolean shootSuperLaser();
// CALLBACKS
public void receivePoints(int points);
public void enableShockWave();
public void enableMissile();
public void enableSuperMissile();
}