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

Реализовать метод getPositionablesNearby #23

Open
artem-prozorov opened this issue Feb 13, 2020 · 0 comments
Open

Реализовать метод getPositionablesNearby #23

artem-prozorov opened this issue Feb 13, 2020 · 0 comments
Assignees

Comments

@artem-prozorov
Copy link
Owner

В сервисе координат добавился метод getPositionablesNearby, который нужно реализовать и исправить существующие тесты.

Метод должен возвращать типизированную коллекцию объектов, реализующих интерфейс App\Contracts\PositionableInterface

Для этого сервис должен взять карту и посчитать, какие объекты находятся на заданном расстоянии от текущего игрока.

В качестве расстояния берем 20% от ширины карты

Работу вести в ветке add_getPositionablesNearby_method

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants