Epok Engine

EPOK RUNTIME

epok::Tween::elapsed_value

Method · 1 overload

Method

Performs `elapsed value` as part of the utility module.

Belongs to
epok::Tween
Header
utility.hpp
Overloads
1

Declaration

const
Declaration
Fixed elapsed_value()const

Performs `elapsed value` as part of the utility module.

This overload takes no parameters.

Returns: Fixed. Check the value before continuing when it represents success, availability or a resource handle.

Example

C++ example
#include "utility.hpp"

epok::Tween& object = /* obtain a valid instance */;

auto result = object.elapsed_value();

Why use it

The method is `const`, so it does not mutate the object through this API surface.

Trade-offs and warnings

Call it only in the lifecycle phase described by the module. Validate indices, capacities and object state before use.

Declared in runtime/utility.hpp:93

Related members