generated from tipragot/rust
Add the ownership system #96
|
@ -24,6 +24,7 @@ impl Plugin for OwnershipPlugin {
|
|||
#[derive(Resource)]
|
||||
pub struct OwnershipColorContrast(pub f32);
|
||||
|
||||
/// Init resources related to the ownership of the tiles.
|
||||
fn setup_ownership_resources(mut commands: Commands) {
|
||||
commands.insert_resource(OwnershipColorContrast(0.4));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue