~aacid/unity-2d/unity-2d_pointer_barrier

« back to all changes in this revision

Viewing changes to libunity-2d-private/src/decayedvalue.h

  • Committer: Albert Astals
  • Date: 2012-03-02 08:37:00 UTC
  • Revision ID: albert.astals@canonical.com-20120302083700-ogiu4m78wq2apucz
Longer name to show it also returns a bool instead of just adding as suggested by Gerry

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
public:
28
28
    DecayedValue();
29
29
 
30
 
    bool add(int i);
 
30
    bool addAndCheckExceedingTarget(int i);
31
31
 
32
32
    void setDecayRate(int decayRate);
33
33
    void setTarget(int target);