pub enum FishingAnimPhase {
CastDelay,
RodOut,
Shake,
Bubble,
Done,
}Expand description
Phase of the player-side fishing rod animation.
Variants§
CastDelay
Initial pause — nothing drawn yet (the rod OAM and the fishing pose tiles are set up only after this delay).
RodOut
The rod is out and the player holds the fishing pose; the game’s bite roll decides the outcome at the end of this phase.
Shake
Bite only: shake iterations toggling the player sprite’s and rod’s Y by ±1 px.
Bubble
Bite only: the “!” emotion bubble over the player. The rod is hidden during this phase when the player faces up (so it does not overlap the bubble), then unhidden.
Done
Finished; the caller shows the result text.
Trait Implementations§
Source§impl Clone for FishingAnimPhase
impl Clone for FishingAnimPhase
Source§fn clone(&self) -> FishingAnimPhase
fn clone(&self) -> FishingAnimPhase
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FishingAnimPhase
Source§impl Debug for FishingAnimPhase
impl Debug for FishingAnimPhase
Source§impl<'de> Deserialize<'de> for FishingAnimPhase
impl<'de> Deserialize<'de> for FishingAnimPhase
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for FishingAnimPhase
Source§impl PartialEq for FishingAnimPhase
impl PartialEq for FishingAnimPhase
Source§impl Serialize for FishingAnimPhase
impl Serialize for FishingAnimPhase
impl StructuralPartialEq for FishingAnimPhase
Auto Trait Implementations§
impl Freeze for FishingAnimPhase
impl RefUnwindSafe for FishingAnimPhase
impl Send for FishingAnimPhase
impl Sync for FishingAnimPhase
impl Unpin for FishingAnimPhase
impl UnsafeUnpin for FishingAnimPhase
impl UnwindSafe for FishingAnimPhase
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