Skip to content
This repository has been archived by the owner on Sep 8, 2024. It is now read-only.

Commit

Permalink
Remove Damage component
Browse files Browse the repository at this point in the history
  • Loading branch information
darthdeus committed Mar 21, 2024
1 parent efb8eed commit 9353823
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@
to be configurable at will.
- Added `max_distance` to `Particle` allowing particles to only travel a set maximum distance.
- Added `spawn_particle_fan_ex` with more flexible parameters for max particle distance.
- Removed `Damage` component as it's way too specific. Users who need it can
re-implement it by just defining it as `pub struct Damage(pub f32)`.

# v0.3.0

Expand Down
2 changes: 0 additions & 2 deletions comfy-core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,6 @@ impl ComplexExt for Complex<f32> {
}
}

pub struct Damage(pub f32);

#[derive(Copy, Clone, Debug)]
pub struct ValueRange<T> {
pub min: T,
Expand Down

0 comments on commit 9353823

Please sign in to comment.