public void move_to_tile(chess_tile _a, chess_tile _b) { //start und ziel ist jeweils der center waypoint waypoint start = _a.get_center_waypoint(); waypoint end = _b.get_center_waypoint(); //chess board hält alle nachbarn //direkstra drauf anwenden und lokal in einer liste speichern //alle wegpunkte in der liste abarbeiten }
public void set_to_tile(chess_tile _t) { set_to_wp(_t.get_center_waypoint()); }
public List <waypoint> get_waypoints_out_of_tile(chess_tile _destination_tile) { return(null); }
public waypoint(int _id, chess_tile _tile) { tile = _tile; id = _id; //TODO CLAC POSITION }
//holt nächsten wegpunkt zum jetigen = kleinster abstand //mittels destiantion tile einen pfad um das aktuelle tile herum erstellen List <waypoint> get_waypoints_to_next_tile(waypoint _current_waypoint, chess_tile _destination_tile) { return(null); }