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

fix(ecs-gestalt): Migrate Components to gestalt's Components. #12

Merged
merged 6 commits into from
Aug 25, 2021

Conversation

DarkWeird
Copy link
Contributor

@Override
public void copy(KallistiComputerComponent other) {
this.on = other.on;
this.machine = other.machine;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have no clue whether this is okay for Machine 🤷

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've added a FIXME here as I don't want to look into creating a deep copy of Machine and all it's members right now ... 🙈

this.texture = other.texture;
this.pw = other.pw;
this.ph = other.ph;
this.entityManager = other.entityManager;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not going to ask why this component holds the entity manager 🙈

@jdrueckert jdrueckert merged commit 4241eee into develop Aug 25, 2021
@jdrueckert jdrueckert deleted the feature/migrate-ecs-to-gestalt branch August 25, 2021 16:00
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.

4 participants