Feel  5.1
The best way to improve your game's feel and make it extra juicy
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 More...
 
MMFeedbacks MoveFeedback
 a feedback to call when moving More...
 
MMFeedbacks DeniedFeedback
 a feedback to call when trying to move while in cooldown More...
 

Protected Member Functions

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

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: