| 340 | } |
| 341 | |
| 342 | void Animation::applyParameters(vili::node& parameters) |
| 343 | { |
| 344 | // TODO: Re-implement texture offset in a better way |
| 345 | if (!parameters["priority"].is_null()) |
| 346 | m_priority = parameters.at("priority"); |
| 347 | } |
| 348 | |
| 349 | void Animation::update() |
| 350 | { |