Datasets:
ArXiv:
License:
Download data/train/CDZR0/BattleShip/src/battleship/Events/ShipSelectorEvent.java from RepoFusion/Stack-Repo: direct link, hf CLI and curl.
- Browser
- Download file 306 Bytes
-
https://huggingface.co/datasets/RepoFusion/Stack-Repo/resolve/main/data/train/CDZR0/BattleShip/src/battleship/Events/ShipSelectorEvent.java
- Command line
-
hf download hf://datasets/RepoFusion/Stack-Repo/data/train/CDZR0/BattleShip/src/battleship/Events/ShipSelectorEvent.java
-
curl -L -o ShipSelectorEvent.java https://huggingface.co/datasets/RepoFusion/Stack-Repo/resolve/main/data/train/CDZR0/BattleShip/src/battleship/Events/ShipSelectorEvent.java
306 Bytes
| //Csaba | |
| package battleship.Events; | |
| /** | |
| * | |
| * @author Csaba | |
| */ | |
| public interface ShipSelectorEvent { | |
| void onSelectShip(int shipSize); | |
| void onSelectDirection(boolean shipPlaceHorizontal); | |
| void onRanOutOfShips(); | |
| void onClearBoard(); | |
| void onPlaceRandomShips(); | |
| void onDone(); | |
| } | |