generated from tipragot/rust
Improve selection system #78
Labels
No labels
Kind/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Fix
Kind/Security
Kind/Testing
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: fish-cannard/border-wars#78
Loading…
Reference in a new issue
No description provided.
Delete branch "improve-selection"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
closes: #66
Improve selection systemto WIP: Improve selection systemWIP: Improve selection systemto Improve selection systemAny does not mean zero
Dont use thé entity index take juste the Entity directly
@ -0,0 +9,4 @@
///
/// The event contains the entity of the clicked tile.
#[derive(Event)]
pub struct TileJustClicked(pub Entity);
Why dis you change everything to selected but not this ?
I thought we would only need to know if a tile was clicked and not if it was selected, but I've just realized that it would be the same thing.