pub enum GoalCondAst {
HasFlag(String),
MissingFlag(String),
HasItem(String),
ReachedRoom(String),
GoalComplete(String),
FlagInProgress(String),
FlagComplete(String),
}Expand description
Conditions that can activate, complete, or fail a goal.
Variants§
HasFlag(String)
Goal requires the player to have a flag.
MissingFlag(String)
Goal requires the player to be missing a flag.
HasItem(String)
Goal requires the player to possess an item.
ReachedRoom(String)
Goal requires the player to reach a room.
GoalComplete(String)
Goal requires another goal to be complete.
FlagInProgress(String)
Goal depends on a sequence flag progressing but not finishing.
FlagComplete(String)
Goal requires a sequence flag to reach its terminal step.
Trait Implementations§
Source§impl Clone for GoalCondAst
impl Clone for GoalCondAst
Source§fn clone(&self) -> GoalCondAst
fn clone(&self) -> GoalCondAst
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GoalCondAst
impl Debug for GoalCondAst
Source§impl PartialEq for GoalCondAst
impl PartialEq for GoalCondAst
impl StructuralPartialEq for GoalCondAst
Auto Trait Implementations§
impl Freeze for GoalCondAst
impl RefUnwindSafe for GoalCondAst
impl Send for GoalCondAst
impl Sync for GoalCondAst
impl Unpin for GoalCondAst
impl UnwindSafe for GoalCondAst
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more