lstrzebinczyk / ruby2d-the-game

3 stars 0 forks source link

Introduce ItemLocation class #63

Open lstrzebinczyk opened 7 years ago

lstrzebinczyk commented 7 years ago

We are now often looking for something on a map, and are interested both in location, and fact if it's in a container or not. Map search methods should return ItemLocation object with all of those informations, and it should be simple to produce a get/pick job from it. This should unify nicely all the scattered code about those issues.