ssardina-agts / agtcity-sarl-mw

The SARL middleware to for the Agents in City MAC game
GNU General Public License v3.0
1 stars 2 forks source link

Aggregator class Roles and tools+roads #2

Open ssardina opened 5 years ago

ssardina commented 5 years ago

Original report by Sebastian Sardina (Bitbucket: [Sebastian Sardina](https://bitbucket.org/Sebastian Sardina), ).


Class:

/sarl-agtcity-mw/src/main/sarl/au/edu/rmit/agtgrp/agtcity/sarl/mw/entities/Role.sarl

extracts the tools the role is presumably able to handle in the 4th index, but presumably the server has the roads in that place:

#!java

"drone" : {
    "speed" : 5,
    "load" : 100,
    "battery" : 250,
    "roads" : ["air"]
  },

so:

  1. Roads are missing in Roles
  2. Where is the tools-role information coming?