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

Add possibility to retrieve info on last collided entities #270

Closed

Commits on Jun 4, 2019

  1. Add possibility to retrieve info on a collided entity

    Saves the first collided entity while a move check.
    The saved entity can then be accessed by the moving entity so it can get details on the entity it just collided with.
    CalvinMT committed Jun 4, 2019
    Configuration menu
    Copy the full SHA
    d60e635 View commit details
    Browse the repository at this point in the history
  2. Add missing null test

    TheRamenChef committed Jun 4, 2019
    Configuration menu
    Copy the full SHA
    c9c3d54 View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2019

  1. Add missing obvious other way

    If A touches B, then B also touches A.
    CalvinMT committed Jun 6, 2019
    Configuration menu
    Copy the full SHA
    0ea49b5 View commit details
    Browse the repository at this point in the history
  2. Update with better wording

    CalvinMT committed Jun 6, 2019
    Configuration menu
    Copy the full SHA
    20a1749 View commit details
    Browse the repository at this point in the history
  3. Change variable to list of all collided entities

    It is now possible to retrieve information of all encountered entities after calling the move() method.
    CalvinMT committed Jun 6, 2019
    Configuration menu
    Copy the full SHA
    10ca0a6 View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2019

  1. Update code style

    Changing back to previous code style.
    CalvinMT committed Jun 7, 2019
    Configuration menu
    Copy the full SHA
    111da50 View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2019

  1. Fix possibility to retrieve info after a collision

    It (still) wasn't possible to retrieve information from an encountered entity after the collision took place because the list was cleared on the next move() call.
    This is now fixed.
    CalvinMT committed Jun 9, 2019
    Configuration menu
    Copy the full SHA
    ddf6964 View commit details
    Browse the repository at this point in the history