Ignore:
Timestamp:
Sep 13, 2017, 5:20:35 PM (8 years ago)
Author:
Frederik Heber <frederik.heber@…>
Children:
1e4f0a
Parents:
17fceea
Message:

MakroAction allows getting the internal ActionSequence's current step.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/ActionSequence.hpp

    r17fceea r15acdb  
    6767  void setLoop(unsigned int _loop)
    6868  { loop = _loop; }
     69
     70  unsigned int getStep() const
     71  { return step; }
     72
    6973private:
    7074  actionSet actions;
    7175  //!> how often the sequence is repeated
    7276  unsigned int loop;
     77  //!> current step (used in loops)
     78  unsigned int step;
    7379};
    7480
Note: See TracChangeset for help on using the changeset viewer.