Skip to content

Commit

Permalink
Add generic damage to factory
Browse files Browse the repository at this point in the history
  • Loading branch information
lorgan3 committed Dec 30, 2023
1 parent 4b439a5 commit f09582f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/data/damage/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { ExplosiveDamage } from "./explosiveDamage";
import { FallDamage } from "./fallDamage";
import { GenericDamage } from "./genericDamage";
import { DamageSource, DamageSourceType } from "./types";

export const DAMAGE_SOURCES: Record<
Expand All @@ -8,4 +9,5 @@ export const DAMAGE_SOURCES: Record<
> = {
[DamageSourceType.Explosive]: ExplosiveDamage,
[DamageSourceType.Falling]: FallDamage,
[DamageSourceType.Generic]: GenericDamage,
};

0 comments on commit f09582f

Please sign in to comment.