⚠️ This documentation corresponds to the latest development branch of axmol. It might diverge from the official releases.

Axmol Engine 3.0.0-84160d4
Loading...
Searching...
No Matches
DelayTime Class Reference

Delays the action a certain amount of seconds. More...

#include <ActionInterval.h>

Inherits ActionInterval.

Public Member Functions

void update (float time) override
Public Member Functions inherited from ActionInterval
float getElapsed ()
 How many seconds had elapsed since the actions started to run.
void setAmplitudeRate (float amp)
 Sets the amplitude rate, extension in GridAction.
float getAmplitudeRate ()
 Gets the amplitude rate, extension in GridAction.
void step (float dt) override
bool initWithDuration (float d)
 initializes the action

Static Public Member Functions

static DelayTimecreate (float d)
 Creates the action.

Detailed Description

Delays the action a certain amount of seconds.

Member Function Documentation

◆ create()

DelayTime * create ( float d)
static

Creates the action.

Parameters
dDuration time, in seconds.
Returns
An autoreleased DelayTime object.

◆ update()

void update ( float time)
override
Parameters
timeIn seconds.

The documentation for this class was generated from the following file:
  • ActionInterval.h