14#include <SFML/System/Clock.hpp>
15#include <SFML/System/Time.hpp>
43 Clock(
const std::uint32_t entityId = 0);
53 const std::int64_t
reset();
83 const std::string
getInfo(
const unsigned int indent = 0)
const;
This is the file that links the EntityNode children.
Macro definitions for logging messages with varying levels of detail and formatting.
This is the file in charge of containing the Log class (the one in charge of outputing info only when...
A class for managing time tracking within the ECS system.
const std::int64_t getElapsedTime() const
Gets the elapsed time since the clock was last reset.
void stop()
Stops the clock.
const std::string getInfo(const unsigned int indent=0) const
This is a function meant for debugging purposes It will dump the current state of the variables upon ...
const bool isRunning() const
Checks if the clock is currently running.
Clock(const std::uint32_t entityId=0)
Construct a new Clock object.
const std::int64_t reset()
Resets the clock and returns the elapsed time since the last reset.
~Clock()
Destroy the Clock object.
void start()
Starts the clock.
std::ostream & operator<<(std::ostream &os, const Clock &item)
Outputs the clock's info to a stream.