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 actor event "slots" for standard interaction #22

Closed
VectorWolf opened this issue Mar 11, 2018 · 0 comments
Closed

Add actor event "slots" for standard interaction #22

VectorWolf opened this issue Mar 11, 2018 · 0 comments
Assignees
Labels
new feature Functional additions

Comments

@VectorWolf
Copy link
Member

If something like a colission between actors happens, a specified event could be triggered

  • Possible slots:

    • on_collide
    • on_activation
    • on_hit
    • on_death
  • As a result we need an "add_cause" method which adds a pointer to the actor which triggered the event.

  • For pointer consistency the actors in the actor layer should be stored in lists rather than vectors.

  • Events which use this "cause" functionality should always have a nullptr case.

@VectorWolf VectorWolf added this to the Actor Management milestone Mar 11, 2018
@VectorWolf VectorWolf added this to Programming stuff in Terra Australis Demo Game Mar 11, 2018
@VectorWolf VectorWolf moved this from Programming stuff to In progress in Terra Australis Demo Game Mar 11, 2018
@VectorWolf VectorWolf self-assigned this Mar 11, 2018
@VectorWolf VectorWolf added the new feature Functional additions label Mar 11, 2018
@VectorWolf VectorWolf moved this from In progress to Done in Terra Australis Demo Game Mar 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature Functional additions
Projects
No open projects
Development

No branches or pull requests

1 participant