Beispiel #1
0
 public TurnInformation(
     TerrainType terrainType,
     PastTurnDigest pastTurn,
     AntMindset mindset,
     List <PheromoneDigest> pheromones,
     Dictionary <HexDirection, List <PheromoneDigest> > adjacentPheromoneGroups,
     Value energy,
     Value hp,
     Value carriedFood,
     AnalyseReport analyseReport,
     CommunicateReport communicateReport,
     List <EventInput> eventInputs,
     int id)
 {
     this.terrainType             = terrainType;
     this.pastTurn                = pastTurn;
     this.mindset                 = mindset;
     this.pheromones              = pheromones;
     this.adjacentPheromoneGroups = adjacentPheromoneGroups;
     this.energy            = energy;
     this.hp                = hp;
     this.carriedFood       = carriedFood;
     this.analyseReport     = analyseReport;
     this.communicateReport = communicateReport;
     this.eventInputs       = eventInputs;
     this.id                = id;
 }
Beispiel #2
0
 public void ClearInputs()
 {
     eventInputs       = new List <EventInput>();
     communicateReport = null;
     analyseReport     = null;
 }
Beispiel #3
0
 public EventInputComunicate(HexDirection direction, CommunicateReport payload) : base(EventInputType.COMMUNICATE, direction)
 {
     this.payload = payload;
 }