-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds entity type and asset with uuid for DAM
- Loading branch information
1 parent
7e5c0ad
commit ff92b8f
Showing
3 changed files
with
32 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
pub mod entity_component; | ||
|
||
use uuid::Uuid; | ||
|
||
// Représente un UUID pour chaque entité | ||
type EntityId = Uuid; | ||
/// | ||
pub struct Entity{ | ||
pub id: EntityId, | ||
pub components: Vec<Uuid>, | ||
|
||
} |