STREGAsGate / GateEngine

Swift Game Engine supporting Windows, Linux, macOS, HTML5, and more 🚂
Apache License 2.0
280 stars 6 forks source link

Standardize Async Loading #8

Open STREGA opened 1 year ago

STREGA commented 1 year ago

Give Entity a state and allow users to check if it's completely loaded

Things that need loaded checking:

Design a LoadingSystem and LoadingSystemComponent with easy access to progress indicator and gracefully handles failure states. Possibly use a LoadingDescriptionComponent to handle configuring an entity for loading itself.