MCPcopy Create free account
hub / github.com/axmolengine/axmol / initWithDuration

Method initWithDuration

core/2d/ActionTiledGrid.cpp:59–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57}
58
59bool ShakyTiles3D::initWithDuration(float duration, const Vec2& gridSize, int range, bool shakeZ)
60{
61 if (TiledGrid3DAction::initWithDuration(duration, gridSize))
62 {
63 _randrange = range;
64 _shakeZ = shakeZ;
65
66 return true;
67 }
68
69 return false;
70}
71
72ShakyTiles3D* ShakyTiles3D::clone() const
73{

Callers 1

createMethod · 0.45

Calls 1

Vec2Class · 0.70

Tested by

no test coverage detected