Feel 5.9.1
The best way to improve your game's feel and make it extra juicy
Loading...
Searching...
No Matches
MoreMountains.Feel.Blob Class Reference

A simple class used to pilot Feel's Blob demo character, who simply moves on a loop when its target key is pressed. More...

Inheritance diagram for MoreMountains.Feel.Blob:

Public Attributes

float CooldownDuration = 1f
 a duration, in seconds, between two moves, during which moves are prevented
MMFeedbacks MoveFeedback
 a feedback to call when moving
MMFeedbacks DeniedFeedback
 a feedback to call when trying to move while in cooldown

Protected Member Functions

virtual void Update ()
 On Update we look for input.
virtual void HandleInput ()
 Detects input.
virtual void Move ()
 Performs a move if possible, otherwise plays a denied feedback.

Protected Attributes

float _lastMoveStartedAt = -100f

Detailed Description

A simple class used to pilot Feel's Blob demo character, who simply moves on a loop when its target key is pressed.

Member Function Documentation

◆ HandleInput()

virtual void MoreMountains.Feel.Blob.HandleInput ( )
protectedvirtual

Detects input.

◆ Move()

virtual void MoreMountains.Feel.Blob.Move ( )
protectedvirtual

Performs a move if possible, otherwise plays a denied feedback.

◆ Update()

virtual void MoreMountains.Feel.Blob.Update ( )
protectedvirtual

On Update we look for input.

Member Data Documentation

◆ _lastMoveStartedAt

float MoreMountains.Feel.Blob._lastMoveStartedAt = -100f
protected

◆ CooldownDuration

float MoreMountains.Feel.Blob.CooldownDuration = 1f

a duration, in seconds, between two moves, during which moves are prevented

◆ DeniedFeedback

MMFeedbacks MoreMountains.Feel.Blob.DeniedFeedback

a feedback to call when trying to move while in cooldown

◆ MoveFeedback

MMFeedbacks MoreMountains.Feel.Blob.MoveFeedback

a feedback to call when moving


The documentation for this class was generated from the following file:
  • H:/Code/MoreMountains/feel/Assets/Feel/FeelDemos/Blob/Scripts/Blob.cs