Highroad Engine v1.3
Public Attributes | Protected Member Functions | List of all members
MoreMountains.Tools.MMObservableDemoObserver Class Reference

A test class used to demonstrate the MMObservable in the MMObservableTest demo scene
More...

Inheritance diagram for MoreMountains.Tools.MMObservableDemoObserver:

Public Attributes

MMObservableDemoSubject TargetSubject
 the subject to look at More...
 

Protected Member Functions

virtual void OnPositionChange ()
 When the position changes, we move our object accordingly on the y axis More...
 
virtual void OnEnable ()
 On enable we start listening for changes More...
 
virtual void OnDisable ()
 On enable we stop listening for changes More...
 

Detailed Description

A test class used to demonstrate the MMObservable in the MMObservableTest demo scene

Member Function Documentation

◆ OnDisable()

virtual void MoreMountains.Tools.MMObservableDemoObserver.OnDisable ( )
protectedvirtual

On enable we stop listening for changes

◆ OnEnable()

virtual void MoreMountains.Tools.MMObservableDemoObserver.OnEnable ( )
protectedvirtual

On enable we start listening for changes

◆ OnPositionChange()

virtual void MoreMountains.Tools.MMObservableDemoObserver.OnPositionChange ( )
protectedvirtual

When the position changes, we move our object accordingly on the y axis

Member Data Documentation

◆ TargetSubject

MMObservableDemoSubject MoreMountains.Tools.MMObservableDemoObserver.TargetSubject

the subject to look at


The documentation for this class was generated from the following file: