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

API to change buyer without changing shop visibility #7

Open
Overkane opened this issue Jun 20, 2021 · 0 comments
Open

API to change buyer without changing shop visibility #7

Overkane opened this issue Jun 20, 2021 · 0 comments

Comments

@Overkane
Copy link
Contributor

Would be cool if there would be API to change buyer without changing shop visibility. Current func shows it every time you change unit buyer.

  function showToUnit(unit buyer)
    let owner = buyer.getOwner()
    buyers.put(owner, buyer)
    itemShopFrame.show(owner)
    checkBuyability(owner)
    checkShopPos(owner)

Sometimes this behaviour isn't needed.

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

1 participant