Define entity component categories and marker traits #78

Open
opened 2025-12-17 03:20:19 +00:00 by siennathesane · 0 comments
siennathesane commented 2025-12-17 03:20:19 +00:00 (Migrated from github.com)

Description

Create the type hierarchy for entity components including marker traits for component categories (Lifecycle, PhysicalPresence, Needs, Instincts, Roles, Autonomy, Relationships, Membership).

Acceptance Criteria

Scenario: Component categories are defined
  Given Marathon's entity system
  When component categories are defined
  Then marker traits exist for each category
  And components can be tagged with categories
  And category membership is enforced at compile time

Technical Notes

  • Use Rust trait system for component categories
  • Leverage Bevy's component model
  • Create clear boundaries between component categories
  • Document category semantics

Size: S (2 points)
Priority: P0
Phase: 1 - Foundation

## Description Create the type hierarchy for entity components including marker traits for component categories (Lifecycle, PhysicalPresence, Needs, Instincts, Roles, Autonomy, Relationships, Membership). ## Acceptance Criteria ```gherkin Scenario: Component categories are defined Given Marathon's entity system When component categories are defined Then marker traits exist for each category And components can be tagged with categories And category membership is enforced at compile time ``` ## Technical Notes - Use Rust trait system for component categories - Leverage Bevy's component model - Create clear boundaries between component categories - Document category semantics **Size:** S (2 points) **Priority:** P0 **Phase:** 1 - Foundation
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: studio/marathon#78