Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Agent.die() #2150

Closed
wants to merge 6 commits into from
Closed

Commits on May 27, 2022

  1. adding heading information and created move_forward_or_backward funct…

    …ion, which calculates the next position the agent will move. move_forward function, which moves the agent forward by specified amount. move_backward function, which moves the agent backwards by specified amount. turn_right function, turns the agent right by specified degree. turn_left function, turns the agent left by specified degree.
    GaelLucero committed May 27, 2022
    Configuration menu
    Copy the full SHA
    5105dde View commit details
    Browse the repository at this point in the history
  2. Created setxy function which sets the agents position to the specifie…

    …d parameters. set_pos function, sets the current position to the specified pos parameter. distancexy function, gives you the distance of the agent and the given coordinate. distance function, gives you the distance between the agent and another agent.
    GaelLucero committed May 27, 2022
    Configuration menu
    Copy the full SHA
    a6fd559 View commit details
    Browse the repository at this point in the history
  3. Created die function which, removes the agent from the schedule and t…

    …he grid. towardsxy function, calculates angle between a given coordinate and horizon as if the current position is the origin. towards function, calculates angle between an agent and horizon as if the current position is the origin. facexy function, makes agent face a given coordinate. face function, makes agent face another agent
    GaelLucero committed May 27, 2022
    Configuration menu
    Copy the full SHA
    89d6286 View commit details
    Browse the repository at this point in the history

Commits on May 26, 2024

  1. Merge remote-tracking branch 'remotes/GaelLucero/ABM_language' into a…

    …gent-death
    Catherine Devlin committed May 26, 2024
    Configuration menu
    Copy the full SHA
    3c45748 View commit details
    Browse the repository at this point in the history
  2. Remove spatial methods

    Those are included in projectmesa#2149
    Catherine Devlin committed May 26, 2024
    Configuration menu
    Copy the full SHA
    5bb8f25 View commit details
    Browse the repository at this point in the history
  3. Informative warnings rather than print upon .die failure

    Catherine Devlin committed May 26, 2024
    Configuration menu
    Copy the full SHA
    7fe412e View commit details
    Browse the repository at this point in the history