Class CCFiniteTimeAction

#include <Geode/cocos/actions/CCAction.h>
classCCFiniteTimeAction:publiccocos2d::CCAction{ ... }

Base class actions that do have a finite time duration. Possible actions:

  • An action with a duration of 0 seconds
  • An action with a duration of 35.5 seconds Infinite time actions are valid
Examples0
Public static methods0
Public member functions3
floatgetDuration()

//! get duration in seconds of the action

voidsetDuration(
floatduration
)

//! set duration in seconds of the action

virtualcocos2d::CCFiniteTimeAction*reverse()

returns a reversed action

Fields0
Protected member functions0
Protected fields1
floatm_fDuration
;

//! duration in seconds