de.lessvoid.nifty.tools.pulsate.provider
Class NullPulsator

java.lang.Object
  extended by de.lessvoid.nifty.tools.pulsate.provider.NullPulsator
All Implemented Interfaces:
PulsatorProvider

public class NullPulsator
extends Object
implements PulsatorProvider

The NullPulsator does not really pulsate =).

Author:
void

Constructor Summary
NullPulsator()
           
 
Method Summary
 float getValue(long msTime)
          Always returns 0.
 void initialize(Properties parameter)
          Actually does nothing.
 void reset(long msTime)
          Reset.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullPulsator

public NullPulsator()
Method Detail

initialize

public void initialize(Properties parameter)
Actually does nothing.

Specified by:
initialize in interface PulsatorProvider
Parameters:
parameter - the parameters

getValue

public float getValue(long msTime)
Always returns 0.

Specified by:
getValue in interface PulsatorProvider
Parameters:
msTime - the time
Returns:
always returns 0

reset

public void reset(long msTime)
Reset.

Specified by:
reset in interface PulsatorProvider
Parameters:
msTime - the time


Copyright © 2011. All Rights Reserved.