Commit cde86426 authored by dkonam's avatar dkonam

Merge branch 'Data/Structures' into develop

parents 9b6b9dfe 2ab5580e
......@@ -5,6 +5,7 @@
*/
package com.utclo23.data.facade;
import com.utclo23.data.structure.Coordinate;
import com.utclo23.data.structure.Event;
import com.utclo23.data.structure.Game;
import com.utclo23.data.structure.LightPublicUser;
......@@ -84,7 +85,7 @@ public class DataFacade implements IDataCom, IDataIHMTable, IDataIHMMain{
}
@Override
public boolean attack(Integer[] coords) {
public boolean attack(Coordinate coords) {
throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
}
......
......@@ -16,7 +16,7 @@ import java.util.ArrayList;
public interface IDataIHMTable {
public ArrayList<Ship> getShips();
public void setShip(Ship ship);
public boolean attack(Integer[] coords);
public boolean attack(Coordinate coords);
public void leaveGame();
public ArrayList<Ship> getInitialBoardFromGameId(UID gameid);
public ArrayList<Event> getPreviousBoard();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment