mirror of
https://github.com/Cpt-Adok/SNAKE.git
synced 2026-03-31 18:31:34 +00:00
Ia (#4)
* correction de probleme et ajout d'un quick multi * correction de probleme * changer le main * programme fini~ pour l'ia * correction de probleme * Robot (#3) * Robot qui marche pas encore * Robot teubé mais marche bien, marche très bien en local mais problème en réseau * Robot fini mais problème en réseau * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md --------- Co-authored-by: Cpt-Adok <theo.faria@laposte.net> Co-authored-by: Cpt-Adok <126670243+Cpt-Adok@users.noreply.github.com> * correction de probleme et ajout de learn.ser --------- Co-authored-by: Cpt-Adok <theo.faria@laposte.net> Co-authored-by: Cpt-Adok <126670243+Cpt-Adok@users.noreply.github.com>
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
package connexion;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
import environnements.*;
|
||||
import types.Item;
|
||||
import types.Mouvement;
|
||||
import personnages.Personnage;
|
||||
|
||||
@@ -12,12 +9,9 @@ public class Channel extends Personnage {
|
||||
private static Reseau adversaire;
|
||||
private String channel;
|
||||
|
||||
private Map map;
|
||||
|
||||
public Channel(Map map, String channel, String autreChannel) {
|
||||
super(new int [] {map.getGrid()[0].length - 1, map.getGrid().length - 1});
|
||||
|
||||
this.map = map;
|
||||
this.name = autreChannel;
|
||||
|
||||
this.channel = channel;
|
||||
|
||||
Reference in New Issue
Block a user