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