Skip to content

Start of apples#11

Open
alilee wants to merge 2 commits intomainfrom
step3
Open

Start of apples#11
alilee wants to merge 2 commits intomainfrom
step3

Conversation

@alilee
Copy link
Owner

@alilee alilee commented Jul 24, 2022

No description provided.

Board { limit: uvec2(15, 8) }
Board {
limit: uvec2(15, 8),
taken: HashSet::new(),
Copy link
Owner Author

Choose a reason for hiding this comment

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

We'll eventually need to know what is at the location though.

#[derive(Component)]
pub struct Apple;

fn add_apple(mut commands: Commands, mut board: ResMut<Board>) {
Copy link
Owner Author

Choose a reason for hiding this comment

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

This is the major design decision. How much game state/knowledge should be encapsulated in Board vs. the ECS?

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.

1 participant