-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or requesttavern_pathfinderThis issue or pull request relates to the pathfinder libraryThis issue or pull request relates to the pathfinder library
Description
RequirementChecker defines a function that takes a reference to a Character and determines if it can "take" the given entity, whatever that means in context.
pub trait RequirementChecker {
check_reqs(&self, c: &Character) -> Result<(), Error> {
Ok(())
}
}... where Error is whatever the custom error type is, probably nebula_error::Error. The above indicates a default implementation that automatically succeeds.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesttavern_pathfinderThis issue or pull request relates to the pathfinder libraryThis issue or pull request relates to the pathfinder library