saricden/no-place-like

Create a world "entities" property & utility methods to query

saricden opened this issue · 0 comments

Based on our discussion tonight:

medecau: Could you query that object for the entities?
medecau: filter by type... something like give me a list a list of everythin in the world but filter by type == 'enemy'
medecau: you could make this list + filter a method of the world
medecau: then call it from inside the player
PointBlankTed: i usually don't modify phaser properties directly, but i have no problem sticking more data on the phaser objects. especially sprites
medecau: these utility methods will then be available not only to that ONE player but all potential players