77b4f5e
Branches > main > 77b4f5e > files
Fact docstring
Commit: 77b4f5e51e348558f6750132117a91642743b493
Parent: e39f879
1 changed file:
src/main/kotlin/net/bowmap/stormbow/fact/Fact.kt view file
@@ -4,12 +4,9 @@ import net.bowmap.stormbow.effect.Effect import net.bowmap.stormbow.registry -// Fact is a thing that happened (immutable)-// And they can be created by the user just fine which is good-+/// A fact is something that happened in the game interface Fact -// Can be empty, of course fun handle(fact: Fact): PersistentList<Effect> { var effects: PersistentList<Effect> = persistentListOf() registry[fact::class]?.forEach { handler ->