Support an Open Source Developer! :hearts:
SPECS Declaration
A simple macro to effectively create SPECS systems.
Adding To Your Project
Add the following to your Cargo.toml file:
specs_declaration = "*"
Usage
- system!
- Give the name of the system and, optionally, the generic parameters
- Give the content of your usual SystemData, in the form of a closure
- Write your operations as if you were in the usual run(&self, params..) function of the System
use *;
system!;
With generics:
use *;
system!;
Consider donating on my patreon if you find this useful!