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

Move logic of virtual object to a Manager #13

Merged
merged 1 commit into from
Dec 12, 2017

Conversation

ignacio-chiazzo
Copy link
Owner

@ignacio-chiazzo ignacio-chiazzo commented Dec 10, 2017

Short description of what this resolves:

Added a manager that stores two things:

  • An array of objects placed which means all Virtual objects placed will be stored in a manager var.
  • The object which the user has selected.

In addition, I added a unique ID to each Virtual Object. It will allow us to detect which object was touched. It partially helps to solve #7

cc @KMamedoff

@KMamedoff
Copy link

It does not work. Still selecting the newest object as default. Cannot interact with previous objects.

@ignacio-chiazzo
Copy link
Owner Author

It does not work. Still selecting the newest object as default. Cannot interact with previous objects.

@KMamedoff This is not the purpose of this PR. It creates a class that manages the objects placed and also it adds IDs to all object. So now the implementation of this feature is easy.

@ignacio-chiazzo ignacio-chiazzo deleted the multiple-objects branch December 27, 2017 19:13
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

Successfully merging this pull request may close these issues.

2 participants